#CB85E2#CB85E2

#CB85E2 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.2% C 0.150 H 317.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CB85E2
RGBrgb(203, 133, 226)
HSLhsl(285, 62%, 70%)
HSVhsv(285, 41%, 89%)
CMYKcmyk(10.2%, 41.2%, 0%, 11.4%)
CIE-LABlab(65.72, 42.42, -36.69)
CIE-LCHlch(65.72, 56.08, 319.14°)
OKLaboklab(72.17% 0.1102 -0.1011)
OKLCHoklch(72.17% 0.15 317.5)
XYZxyz(46.7417, 34.9639, 76.2232)
Luminance0.3496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85E2 #9CE285
analogous
#9C85E2 #CB85E2 #E285CB
triadic
#CB85E2 #E2CB85 #85E2CB
tetradic
#CB85E2 #E29C85 #9CE285 #85CBE2
square
#CB85E2 #E29C85 #9CE285 #85CBE2
split-complementary
#CB85E2 #CBE285 #85E29C
monochromatic
#9B2DBF #B654D6 #CB85E2 #E0B6EE #F4E6F9

Accessibility & contrast

On white

2.63
#CB85E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#CB85E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85E2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85E2#FFFFFF#000000##000000
##CB85E21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769BE5
Deuteranopia (green-blind)
#88A2DF
Tritanopia (blue-blind)
#CB91A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb85e2;
/* rgb */ color: rgb(203, 133, 226);
/* oklch */ color: oklch(72.2% 0.150 317.5);
Tailwind
colors: {
  custom: {
    50: '#dcaaeb',
    500: '#cb85e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb85e2;
$custom-light: #dcaaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85e2",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 226
  },
  "hsl": {
    "h": 285.161,
    "s": 61.589,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72171,
    "c": 0.14957,
    "h": 317.5
  },
  "luminance": 0.34963
}

Semantic roles & 50–950 ramp

primary
#CB85E2
secondary
#DBEED5
accent
#C91C47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CB85E2

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

Preview Lab → · Contrast checker → · Palette generator →

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