#CA7EE2#CA7EE2

#CA7EE2 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.0% C 0.161 H 317.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CA7EE2
RGBrgb(202, 126, 226)
HSLhsl(286, 63%, 69%)
HSVhsv(286, 44%, 89%)
CMYKcmyk(10.6%, 44.2%, 0%, 11.4%)
CIE-LABlab(64.14, 45.84, -39.17)
CIE-LCHlch(64.14, 60.30, 319.49°)
OKLaboklab(70.96% 0.119 -0.1082)
OKLCHoklch(70.96% 0.161 317.7)
XYZxyz(45.5435, 32.9707, 75.9016)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7EE2 #96E27E
analogous
#987EE2 #CA7EE2 #E27EC8
triadic
#CA7EE2 #E2CA7E #7EE2CA
tetradic
#CA7EE2 #E2987E #96E27E #7EC8E2
square
#CA7EE2 #E2987E #96E27E #7EC8E2
split-complementary
#CA7EE2 #C8E27E #7EE298
monochromatic
#992ABB #B54CD7 #CA7EE2 #DFB0ED #F3E2F8

Accessibility & contrast

On white

2.77
#CA7EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CA7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7EE2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7EE2#FFFFFF#000000##000000
##CA7EE21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E6
Deuteranopia (green-blind)
#829EDF
Tritanopia (blue-blind)
#CA8BA5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ca7ee2;
/* rgb */ color: rgb(202, 126, 226);
/* oklch */ color: oklch(71.0% 0.161 317.7);
Tailwind
colors: {
  custom: {
    50: '#dca5eb',
    500: '#ca7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ee2;
$custom-light: #dca5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ee2",
  "rgb": {
    "r": 202,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 285.6,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70961,
    "c": 0.16084,
    "h": 317.7
  },
  "luminance": 0.32969
}

Semantic roles & 50–950 ramp

primary
#CA7EE2
secondary
#D6EDCF
accent
#CB1A45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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