#CB78DF#CB78DF

#CB78DF is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.168 H 319.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CB78DF
RGBrgb(203, 120, 223)
HSLhsl(288, 62%, 67%)
HSVhsv(288, 46%, 87%)
CMYKcmyk(9%, 46.2%, 0%, 12.5%)
CIE-LABlab(62.89, 48.67, -39.44)
CIE-LCHlch(62.89, 62.64, 320.98°)
OKLaboklab(70.01% 0.1281 -0.1089)
OKLCHoklch(70.01% 0.168 319.6)
XYZxyz(44.6627, 31.4588, 73.5172)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78DF #8CDF78
analogous
#9878DF #CB78DF #DF78BF
triadic
#CB78DF #DFCB78 #78DFCB
tetradic
#CB78DF #DF9878 #8CDF78 #78BFDF
square
#CB78DF #DF9878 #8CDF78 #78BFDF
split-complementary
#CB78DF #BFDF78 #78DF98
monochromatic
#982AB2 #B847D3 #CB78DF #DEA9EB #F1DBF6

Accessibility & contrast

On white

2.88
#CB78DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CB78DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78DF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78DF#FFFFFF#000000##000000
##CB78DF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6892E3
Deuteranopia (green-blind)
#7F9BDC
Tritanopia (blue-blind)
#CC86A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb78df;
/* rgb */ color: rgb(203, 120, 223);
/* oklch */ color: oklch(70.0% 0.168 319.6);
Tailwind
colors: {
  custom: {
    50: '#dda1e9',
    500: '#cb78df',
    950: '#000000',
  },
}
SCSS
$custom: #cb78df;
$custom-light: #dda1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78df",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 288.35,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70014,
    "c": 0.16816,
    "h": 319.6
  },
  "luminance": 0.31457
}

Semantic roles & 50–950 ramp

primary
#CB78DF
secondary
#CFEAC9
accent
#C91C3E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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