#CA85EC#CA85EC

#CA85EC is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.5% C 0.160 H 313.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CA85EC
RGBrgb(202, 133, 236)
HSLhsl(280, 73%, 72%)
HSVhsv(280, 44%, 93%)
CMYKcmyk(14.4%, 43.6%, 0%, 7.5%)
CIE-LABlab(66.05, 44.18, -41.71)
CIE-LCHlch(66.05, 60.76, 316.65°)
OKLaboklab(72.54% 0.1108 -0.1156)
OKLCHoklch(72.54% 0.16 313.8)
XYZxyz(47.8825, 35.3888, 83.6490)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85EC #A7EC85
analogous
#9685EC #CA85EC #EC85DB
triadic
#CA85EC #ECCA85 #85ECCA
tetradic
#CA85EC #EC9685 #A7EC85 #85DBEC
square
#CA85EC #EC9685 #A7EC85 #85DBEC
split-complementary
#CA85EC #DBEC85 #85EC96
monochromatic
#9A21D5 #B350E4 #CA85EC #E1BAF4 #F3E5FB

Accessibility & contrast

On white

2.60
#CA85EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CA85EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85EC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85EC#FFFFFF#000000##000000
##CA85EC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#C794AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca85ec;
/* rgb */ color: rgb(202, 133, 236);
/* oklch */ color: oklch(72.5% 0.160 313.8);
Tailwind
colors: {
  custom: {
    50: '#dcaaf2',
    500: '#ca85ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca85ec;
$custom-light: #dcaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85ec",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 280.194,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72538,
    "c": 0.16014,
    "h": 313.8
  },
  "luminance": 0.35388
}

Semantic roles & 50–950 ramp

primary
#CA85EC
secondary
#E1F3D8
accent
#D51051
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA85EC

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

Preview Lab → · Contrast checker → · Palette generator →

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