#CB78EA#CB78EA

#CB78EA is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.180 H 316.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CB78EA
RGBrgb(203, 120, 234)
HSLhsl(284, 73%, 69%)
HSVhsv(284, 49%, 92%)
CMYKcmyk(13.2%, 48.7%, 0%, 8.2%)
CIE-LABlab(63.40, 50.87, -44.75)
CIE-LCHlch(63.40, 67.75, 318.66°)
OKLaboklab(70.56% 0.1296 -0.1243)
OKLCHoklch(70.56% 0.18 316.2)
XYZxyz(46.1941, 32.0714, 81.5830)
Luminance0.3207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78EA #97EA78
analogous
#9278EA #CB78EA #EA78D0
triadic
#CB78EA #EACB78 #78EACB
tetradic
#CB78EA #EA9278 #97EA78 #78D0EA
square
#CB78EA #EA9278 #97EA78 #78D0EA
split-complementary
#CB78EA #D0EA78 #78EA92
monochromatic
#9A1FC8 #B743E2 #CB78EA #DFADF2 #F4E2FA

Accessibility & contrast

On white

2.83
#CB78EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CB78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78EA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78EA#FFFFFF#000000##000000
##CB78EA1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#CA89A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb78ea;
/* rgb */ color: rgb(203, 120, 234);
/* oklch */ color: oklch(70.6% 0.180 316.2);
Tailwind
colors: {
  custom: {
    50: '#dda1f1',
    500: '#cb78ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb78ea;
$custom-light: #dda1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78ea",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 283.684,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70559,
    "c": 0.17961,
    "h": 316.2
  },
  "luminance": 0.3207
}

Semantic roles & 50–950 ramp

primary
#CB78EA
secondary
#D7EFCE
accent
#D51046
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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