#CA85E7#CA85E7

#CA85E7 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.3% C 0.155 H 315.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CA85E7
RGBrgb(202, 133, 231)
HSLhsl(282, 67%, 71%)
HSVhsv(282, 42%, 91%)
CMYKcmyk(12.6%, 42.4%, 0%, 9.4%)
CIE-LABlab(65.83, 43.15, -39.29)
CIE-LCHlch(65.83, 58.36, 317.67°)
OKLaboklab(72.3% 0.11 -0.1086)
OKLCHoklch(72.3% 0.155 315.3)
XYZxyz(47.1662, 35.1023, 79.8766)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85E7 #A2E785
analogous
#9985E7 #CA85E7 #E785D3
triadic
#CA85E7 #E7CA85 #85E7CA
tetradic
#CA85E7 #E79985 #A2E785 #85D3E7
square
#CA85E7 #E79985 #A2E785 #85D3E7
split-complementary
#CA85E7 #D3E785 #85E799
monochromatic
#9A28CA #B452DD #CA85E7 #E0B8F1 #F4E5FA

Accessibility & contrast

On white

2.62
#CA85E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CA85E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85E7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85E7#FFFFFF#000000##000000
##CA85E71.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CEB
Deuteranopia (green-blind)
#86A2E4
Tritanopia (blue-blind)
#C893AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca85e7;
/* rgb */ color: rgb(202, 133, 231);
/* oklch */ color: oklch(72.3% 0.155 315.3);
Tailwind
colors: {
  custom: {
    50: '#dcaaef',
    500: '#ca85e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca85e7;
$custom-light: #dcaaef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85e7",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 282.245,
    "s": 67.123,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72299,
    "c": 0.15458,
    "h": 315.3
  },
  "luminance": 0.35101
}

Semantic roles & 50–950 ramp

primary
#CA85E7
secondary
#DFF1D7
accent
#CF164D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA85E7

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

Preview Lab → · Contrast checker → · Palette generator →

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