#CB78DC#CB78DC

#CB78DC is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.9% C 0.165 H 320.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CB78DC
RGBrgb(203, 120, 220)
HSLhsl(290, 59%, 67%)
HSVhsv(290, 45%, 86%)
CMYKcmyk(7.7%, 45.5%, 0%, 13.7%)
CIE-LABlab(62.76, 48.08, -37.97)
CIE-LCHlch(62.76, 61.26, 321.70°)
OKLaboklab(69.87% 0.1276 -0.1047)
OKLCHoklch(69.87% 0.165 320.6)
XYZxyz(44.2618, 31.2984, 71.4059)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78DC #89DC78
analogous
#9978DC #CB78DC #DC78BB
triadic
#CB78DC #DCCB78 #78DCCB
tetradic
#CB78DC #DC9978 #89DC78 #78BBDC
square
#CB78DC #DC9978 #89DC78 #78BBDC
split-complementary
#CB78DC #BBDC78 #78DC99
monochromatic
#972DAD #B847CF #CB78DC #DEA9E9 #F0D9F5

Accessibility & contrast

On white

2.89
#CB78DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CB78DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78DC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78DC#FFFFFF#000000##000000
##CB78DC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992DF
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#CD85A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb78dc;
/* rgb */ color: rgb(203, 120, 220);
/* oklch */ color: oklch(69.9% 0.165 320.6);
Tailwind
colors: {
  custom: {
    50: '#dda1e7',
    500: '#cb78dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb78dc;
$custom-light: #dda1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78dc",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 289.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69871,
    "c": 0.16508,
    "h": 320.6
  },
  "luminance": 0.31297
}

Semantic roles & 50–950 ramp

primary
#CB78DC
secondary
#CDE8C8
accent
#C61F3C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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