#CA51EC

A color in the Purple, Crimson, Magenta family

#ca51ec is a color in the Purple, Crimson, Magenta family: RGB(202, 81, 236), HSL(287°, 80%, 62%), CMYK(14%, 66%, 0%, 7%). Closest named color: mediumorchid. Contrast is 3.56:1 on white and 5.9:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ca51ec
RGBrgb(202 81 236)
RGB (legacy)rgb(202, 81, 236)
RGB %rgb(79% 32% 93%)
HSLhsl(287 80% 62%)
HSV / HSBhsv(287, 66%, 93%)
HWBhwb(287 32% 7%)
CMYKcmyk(14%, 66%, 0%, 7%)
CIELAB (D50)lab(56.21 64.49 -56.85)
LCHlch(56.21 85.97 318.6)
OKLaboklab(0.6558 0.1767 -0.1589)
OKLCHoklch(0.6558 0.2376 318.04)
Decimal13259244

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.7
Closest web-safe color#cc66ff
Hue287°
Saturation (HSL / HSV)80% / 66%
Lightness (HSL)62%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)53% / 46%
Relative luminance (WCAG)0.245
Red / Green / Blue202 / 81 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.56:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.90:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 62.3 / -39.4 · As background with white / black text: Lc -67.8 / 41.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ca51ec;
  --color-brand-oklch: oklch(65.58% 0.2376 318.04);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(202 81 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ca51ec] text-[#ca51ec] border-[#ca51ec]">