#CA7FE9#CA7FE9

#CA7FE9 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.5% C 0.167 H 315.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CA7FE9
RGBrgb(202, 127, 233)
HSLhsl(282, 71%, 71%)
HSVhsv(282, 45%, 91%)
CMYKcmyk(13.3%, 45.5%, 0%, 8.6%)
CIE-LABlab(64.66, 46.74, -42.23)
CIE-LCHlch(64.66, 62.99, 317.90°)
OKLaboklab(71.45% 0.1187 -0.1171)
OKLCHoklch(71.45% 0.167 315.4)
XYZxyz(46.6522, 33.6197, 81.1067)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FE9 #9EE97F
analogous
#957FE9 #CA7FE9 #E97FD3
triadic
#CA7FE9 #E9CA7F #7FE9CA
tetradic
#CA7FE9 #E9957F #9EE97F #7FD3E9
square
#CA7FE9 #E9957F #9EE97F #7FD3E9
split-complementary
#CA7FE9 #D3E97F #7FE995
monochromatic
#9A23CB #B44BE0 #CA7FE9 #E0B3F2 #F4E5FB

Accessibility & contrast

On white

2.72
#CA7FE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CA7FE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FE9
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FE9#FFFFFF#000000##000000
##CA7FE91.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98ED
Deuteranopia (green-blind)
#7F9FE6
Tritanopia (blue-blind)
#C88EA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca7fe9;
/* rgb */ color: rgb(202, 127, 233);
/* oklch */ color: oklch(71.5% 0.167 315.4);
Tailwind
colors: {
  custom: {
    50: '#dca6f0',
    500: '#ca7fe9',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fe9;
$custom-light: #dca6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fe9",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 233
  },
  "hsl": {
    "h": 282.453,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71454,
    "c": 0.16673,
    "h": 315.4
  },
  "luminance": 0.33618
}

Semantic roles & 50–950 ramp

primary
#CA7FE9
secondary
#DCF0D4
accent
#D3134B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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