#CB78DB#CB78DB

#CB78DB is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.8% C 0.164 H 321.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CB78DB
RGBrgb(203, 120, 219)
HSLhsl(290, 58%, 66%)
HSVhsv(290, 45%, 86%)
CMYKcmyk(7.3%, 45.2%, 0%, 14.1%)
CIE-LABlab(62.71, 47.88, -37.48)
CIE-LCHlch(62.71, 60.81, 321.95°)
OKLaboklab(69.82% 0.1274 -0.1033)
OKLCHoklch(69.82% 0.164 321)
XYZxyz(44.1297, 31.2456, 70.7105)
Luminance0.3124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78DB #88DB78
analogous
#9A78DB #CB78DB #DB78BA
triadic
#CB78DB #DBCB78 #78DBCB
tetradic
#CB78DB #DB9A78 #88DB78 #78BADB
square
#CB78DB #DB9A78 #88DB78 #78BADB
split-complementary
#CB78DB #BADB78 #78DB9A
monochromatic
#972EAB #B848CE #CB78DB #DEA8E8 #F0D9F5

Accessibility & contrast

On white

2.90
#CB78DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CB78DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78DB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78DB#FFFFFF#000000##000000
##CB78DB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DE
Deuteranopia (green-blind)
#819BD8
Tritanopia (blue-blind)
#CD849F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb78db;
/* rgb */ color: rgb(203, 120, 219);
/* oklch */ color: oklch(69.8% 0.164 321.0);
Tailwind
colors: {
  custom: {
    50: '#dca1e6',
    500: '#cb78db',
    950: '#000000',
  },
}
SCSS
$custom: #cb78db;
$custom-light: #dca1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78db",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 290.303,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69823,
    "c": 0.16406,
    "h": 321
  },
  "luminance": 0.31244
}

Semantic roles & 50–950 ramp

primary
#CB78DB
secondary
#CDE7C7
accent
#C5203B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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