#CA7FE4#CA7FE4

#CA7FE4 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.161 H 317.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CA7FE4
RGBrgb(202, 127, 228)
HSLhsl(285, 65%, 70%)
HSVhsv(285, 44%, 89%)
CMYKcmyk(11.4%, 44.3%, 0%, 10.6%)
CIE-LABlab(64.43, 45.72, -39.81)
CIE-LCHlch(64.43, 60.62, 318.95°)
OKLaboklab(71.21% 0.1179 -0.1101)
OKLCHoklch(71.21% 0.161 317)
XYZxyz(45.9481, 33.3381, 77.3982)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FE4 #99E47F
analogous
#977FE4 #CA7FE4 #E47FCC
triadic
#CA7FE4 #E4CA7F #7FE4CA
tetradic
#CA7FE4 #E4977F #99E47F #7FCCE4
square
#CA7FE4 #E4977F #99E47F #7FCCE4
split-complementary
#CA7FE4 #CCE47F #7FE497
monochromatic
#9929C0 #B54CD9 #CA7FE4 #DFB2EF #F4E4F9

Accessibility & contrast

On white

2.74
#CA7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CA7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FE4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FE4#FFFFFF#000000##000000
##CA7FE41.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E8
Deuteranopia (green-blind)
#829FE1
Tritanopia (blue-blind)
#C98DA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca7fe4;
/* rgb */ color: rgb(202, 127, 228);
/* oklch */ color: oklch(71.2% 0.161 317.0);
Tailwind
colors: {
  custom: {
    50: '#dca6ed',
    500: '#ca7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fe4;
$custom-light: #dca6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fe4",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 284.554,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71211,
    "c": 0.16132,
    "h": 317
  },
  "luminance": 0.33337
}

Semantic roles & 50–950 ramp

primary
#CA7FE4
secondary
#D8EED1
accent
#CD1947
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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