#CB78EE#CB78EE

#CB78EE is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.8% C 0.184 H 315.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CB78EE
RGBrgb(203, 120, 238)
HSLhsl(282, 78%, 70%)
HSVhsv(282, 50%, 93%)
CMYKcmyk(14.7%, 49.6%, 0%, 6.7%)
CIE-LABlab(63.59, 51.68, -46.67)
CIE-LCHlch(63.59, 69.63, 317.92°)
OKLaboklab(70.76% 0.1301 -0.1298)
OKLCHoklch(70.76% 0.184 315.1)
XYZxyz(46.7753, 32.3038, 84.6436)
Luminance0.3230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78EE #9BEE78
analogous
#9078EE #CB78EE #EE78D6
triadic
#CB78EE #EECB78 #78EECB
tetradic
#CB78EE #EE9078 #9BEE78 #78D6EE
square
#CB78EE #EE9078 #9BEE78 #78D6EE
split-complementary
#CB78EE #D6EE78 #78EE90
monochromatic
#9B1AD1 #B642E7 #CB78EE #E0AEF5 #F5E4FC

Accessibility & contrast

On white

2.81
#CB78EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CB78EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78EE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78EE#FFFFFF#000000##000000
##CB78EE1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#C98AA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb78ee;
/* rgb */ color: rgb(203, 120, 238);
/* oklch */ color: oklch(70.8% 0.184 315.1);
Tailwind
colors: {
  custom: {
    50: '#dda1f4',
    500: '#cb78ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb78ee;
$custom-light: #dda1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78ee",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 282.203,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70763,
    "c": 0.18383,
    "h": 315.1
  },
  "luminance": 0.32302
}

Semantic roles & 50–950 ramp

primary
#CB78EE
secondary
#DAF1D1
accent
#DA0C49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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