#CB85DF#CB85DF

#CB85DF is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.0% C 0.146 H 318.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CB85DF
RGBrgb(203, 133, 223)
HSLhsl(287, 58%, 70%)
HSVhsv(287, 40%, 87%)
CMYKcmyk(9%, 40.4%, 0%, 12.5%)
CIE-LABlab(65.59, 41.82, -35.22)
CIE-LCHlch(65.59, 54.67, 319.89°)
OKLaboklab(72.03% 0.1096 -0.0969)
OKLCHoklch(72.03% 0.146 318.5)
XYZxyz(46.3336, 34.8007, 74.0742)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85DF #99DF85
analogous
#9E85DF #CB85DF #DF85C6
triadic
#CB85DF #DFCB85 #85DFCB
tetradic
#CB85DF #DF9E85 #99DF85 #85C6DF
square
#CB85DF #DF9E85 #99DF85 #85C6DF
split-complementary
#CB85DF #C6DF85 #85DF9E
monochromatic
#9B31B9 #B655D2 #CB85DF #E0B5EC #F4E6F8

Accessibility & contrast

On white

2.64
#CB85DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#CB85DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85DF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85DF#FFFFFF#000000##000000
##CB85DF1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#789BE2
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#CB90A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cb85df;
/* rgb */ color: rgb(203, 133, 223);
/* oklch */ color: oklch(72.0% 0.146 318.5);
Tailwind
colors: {
  custom: {
    50: '#dcaae9',
    500: '#cb85df',
    950: '#000000',
  },
}
SCSS
$custom: #cb85df;
$custom-light: #dcaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85df",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 286.667,
    "s": 58.442,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72034,
    "c": 0.14632,
    "h": 318.5
  },
  "luminance": 0.34799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB85DF

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

Preview Lab → · Contrast checker → · Palette generator →

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