#CB85EF#CB85EF

#CB85EF is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.8% C 0.164 H 313.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CB85EF
RGBrgb(203, 133, 239)
HSLhsl(280, 77%, 73%)
HSVhsv(280, 44%, 94%)
CMYKcmyk(15.1%, 44.4%, 0%, 6.3%)
CIE-LABlab(66.29, 45.09, -42.97)
CIE-LCHlch(66.29, 62.29, 316.38°)
OKLaboklab(72.79% 0.1125 -0.1192)
OKLCHoklch(72.79% 0.164 313.3)
XYZxyz(48.5935, 35.7046, 85.9765)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85EF #A9EF85
analogous
#9685EF #CB85EF #EF85DE
triadic
#CB85EF #EFCB85 #85EFCB
tetradic
#CB85EF #EF9685 #A9EF85 #85DEEF
square
#CB85EF #EF9685 #A9EF85 #85DEEF
split-complementary
#CB85EF #DEEF85 #85EF96
monochromatic
#9C1DDD #B44FE8 #CB85EF #E2BBF6 #F3E4FB

Accessibility & contrast

On white

2.58
#CB85EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CB85EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85EF
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85EF#FFFFFF#000000##000000
##CB85EF1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#C895AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb85ef;
/* rgb */ color: rgb(203, 133, 239);
/* oklch */ color: oklch(72.8% 0.164 313.3);
Tailwind
colors: {
  custom: {
    50: '#dcaaf4',
    500: '#cb85ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb85ef;
$custom-light: #dcaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85ef",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 279.623,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72788,
    "c": 0.16391,
    "h": 313.3
  },
  "luminance": 0.35704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB85EF

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

Preview Lab → · Contrast checker → · Palette generator →

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