#CA85DF#CA85DF

#CA85DF is a light, vivid purple. Relative luminance 0.347; OKLCH L 71.9% C 0.146 H 318.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CA85DF
RGBrgb(202, 133, 223)
HSLhsl(286, 58%, 70%)
HSVhsv(286, 40%, 87%)
CMYKcmyk(9.4%, 40.4%, 0%, 12.5%)
CIE-LABlab(65.48, 41.52, -35.40)
CIE-LCHlch(65.48, 54.56, 319.55°)
OKLaboklab(71.93% 0.1085 -0.0975)
OKLCHoklch(71.93% 0.146 318.1)
XYZxyz(46.0621, 34.6607, 74.0615)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85DF #9ADF85
analogous
#9D85DF #CA85DF #DF85C7
triadic
#CA85DF #DFCA85 #85DFCA
tetradic
#CA85DF #DF9D85 #9ADF85 #85C7DF
square
#CA85DF #DF9D85 #9ADF85 #85C7DF
split-complementary
#CA85DF #C7DF85 #85DF9D
monochromatic
#9931B9 #B555D2 #CA85DF #DFB5EC #F4E6F8

Accessibility & contrast

On white

2.65
#CA85DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#CA85DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85DF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85DF#FFFFFF#000000##000000
##CA85DF1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE2
Deuteranopia (green-blind)
#89A1DC
Tritanopia (blue-blind)
#CA90A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca85df;
/* rgb */ color: rgb(202, 133, 223);
/* oklch */ color: oklch(71.9% 0.146 318.1);
Tailwind
colors: {
  custom: {
    50: '#dbaae9',
    500: '#ca85df',
    950: '#000000',
  },
}
SCSS
$custom: #ca85df;
$custom-light: #dbaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85df",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 286,
    "s": 58.442,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71927,
    "c": 0.14581,
    "h": 318.1
  },
  "luminance": 0.34659
}

Semantic roles & 50–950 ramp

primary
#CA85DF
secondary
#D9EDD3
accent
#C61F46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA85DF

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

Preview Lab → · Contrast checker → · Palette generator →

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