#CA0EE2#CA0EE2

#CA0EE2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.7% C 0.283 H 322.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CA0EE2
RGBrgb(202, 14, 226)
HSLhsl(293, 88%, 47%)
HSVhsv(293, 94%, 89%)
CMYKcmyk(10.6%, 93.8%, 0%, 11.4%)
CIE-LABlab(49.93, 84.92, -61.74)
CIE-LCHlch(49.93, 104.99, 323.98°)
OKLaboklab(60.68% 0.2237 -0.1733)
OKLCHoklch(60.68% 0.283 322.2)
XYZxyz(38.2402, 18.3640, 73.4672)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA0EE2 #26E20E
analogous
#600EE2 #CA0EE2 #E20E90
triadic
#CA0EE2 #E2CA0E #0EE2CA
tetradic
#CA0EE2 #E2600E #26E20E #0E90E2
square
#CA0EE2 #E2600E #26E20E #0E90E2
split-complementary
#CA0EE2 #90E20E #0EE260
monochromatic
#63076F #960AA8 #CA0EE2 #DE3AF3 #E874F6

Accessibility & contrast

On white

4.49
#CA0EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#CA0EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA0EE2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA0EE2#FFFFFF#000000##000000
##CA0EE21.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#3D7DDE
Tritanopia (blue-blind)
#CC4B86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca0ee2;
/* rgb */ color: rgb(202, 14, 226);
/* oklch */ color: oklch(60.7% 0.283 322.2);
Tailwind
colors: {
  custom: {
    50: '#df73ec',
    500: '#ca0ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ca0ee2;
$custom-light: #df73ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca0ee2",
  "rgb": {
    "r": 202,
    "g": 14,
    "b": 226
  },
  "hsl": {
    "h": 293.208,
    "s": 88.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.60677,
    "c": 0.28297,
    "h": 322.2
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

primary
#CA0EE2
secondary
#7BDD6F
accent
#FE2941
background
#FEF7FE
surface
#FDEEFD
border
#D5C9D5
text
#160A16
muted
#847C84

Preview Lab

Preview with #CA0EE2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CA0EE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva