#CB78D9#CB78D9

#CB78D9 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.7% C 0.162 H 321.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CB78D9
RGBrgb(203, 120, 217)
HSLhsl(291, 56%, 66%)
HSVhsv(291, 45%, 85%)
CMYKcmyk(6.5%, 44.7%, 0%, 14.9%)
CIE-LABlab(62.63, 47.50, -36.50)
CIE-LCHlch(62.63, 59.90, 322.46°)
OKLaboklab(69.73% 0.1271 -0.1005)
OKLCHoklch(69.73% 0.162 321.7)
XYZxyz(43.8680, 31.1409, 69.3322)
Luminance0.3114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78D9 #86D978
analogous
#9A78D9 #CB78D9 #D978B6
triadic
#CB78D9 #D9CB78 #78D9CB
tetradic
#CB78D9 #D99A78 #86D978 #78B6D9
square
#CB78D9 #D99A78 #86D978 #78B6D9
split-complementary
#CB78D9 #B6D978 #78D99A
monochromatic
#962FA7 #B948CC #CB78D9 #DDA8E6 #F0D8F4

Accessibility & contrast

On white

2.91
#CB78D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CB78D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78D9
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78D9#FFFFFF#000000##000000
##CB78D91.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B91DC
Deuteranopia (green-blind)
#829BD6
Tritanopia (blue-blind)
#CD849E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb78d9;
/* rgb */ color: rgb(203, 120, 217);
/* oklch */ color: oklch(69.7% 0.162 321.7);
Tailwind
colors: {
  custom: {
    50: '#dca1e5',
    500: '#cb78d9',
    950: '#000000',
  },
}
SCSS
$custom: #cb78d9;
$custom-light: #dca1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78d9",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 291.34,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69729,
    "c": 0.16204,
    "h": 321.7
  },
  "luminance": 0.31139
}

Semantic roles & 50–950 ramp

primary
#CB78D9
secondary
#CBE6C6
accent
#C42239
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CB78D9

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

Preview Lab → · Contrast checker → · Palette generator →

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