#CB78E4#CB78E4

#CB78E4 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.173 H 318.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CB78E4
RGBrgb(203, 120, 228)
HSLhsl(286, 67%, 68%)
HSVhsv(286, 47%, 89%)
CMYKcmyk(11%, 47.4%, 0%, 10.6%)
CIE-LABlab(63.12, 49.66, -41.86)
CIE-LCHlch(63.12, 64.95, 319.87°)
OKLaboklab(70.26% 0.1288 -0.1159)
OKLCHoklch(70.26% 0.173 318)
XYZxyz(45.3467, 31.7324, 77.1200)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78E4 #91E478
analogous
#9578E4 #CB78E4 #E478C7
triadic
#CB78E4 #E4CB78 #78E4CB
tetradic
#CB78E4 #E49578 #91E478 #78C7E4
square
#CB78E4 #E49578 #91E478 #78C7E4
split-complementary
#CB78E4 #C7E478 #78E495
monochromatic
#9926BC #B745DA #CB78E4 #DFABEE #F2DEF8

Accessibility & contrast

On white

2.86
#CB78E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CB78E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78E4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78E4#FFFFFF#000000##000000
##CB78E41.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6593E8
Deuteranopia (green-blind)
#7D9CE1
Tritanopia (blue-blind)
#CB87A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb78e4;
/* rgb */ color: rgb(203, 120, 228);
/* oklch */ color: oklch(70.3% 0.173 318.0);
Tailwind
colors: {
  custom: {
    50: '#dda1ed',
    500: '#cb78e4',
    950: '#000000',
  },
}
SCSS
$custom: #cb78e4;
$custom-light: #dda1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78e4",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 286.111,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70259,
    "c": 0.17333,
    "h": 318
  },
  "luminance": 0.31731
}

Semantic roles & 50–950 ramp

primary
#CB78E4
secondary
#D3ECCC
accent
#CF1741
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB78E4

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

Preview Lab → · Contrast checker → · Palette generator →

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