#CB78E7#CB78E7

#CB78E7 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.4% C 0.176 H 317.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CB78E7
RGBrgb(203, 120, 231)
HSLhsl(285, 70%, 69%)
HSVhsv(285, 48%, 91%)
CMYKcmyk(12.1%, 48.1%, 0%, 9.4%)
CIE-LABlab(63.26, 50.26, -43.31)
CIE-LCHlch(63.26, 66.35, 319.25°)
OKLaboklab(70.41% 0.1293 -0.1201)
OKLCHoklch(70.41% 0.176 317.1)
XYZxyz(45.7668, 31.9004, 79.3324)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78E7 #94E778
analogous
#9478E7 #CB78E7 #E778CC
triadic
#CB78E7 #E7CB78 #78E7CB
tetradic
#CB78E7 #E79478 #94E778 #78CCE7
square
#CB78E7 #E79478 #94E778 #78CCE7
split-complementary
#CB78E7 #CCE778 #78E794
monochromatic
#9A23C2 #B744DE #CB78E7 #DFACF0 #F3E0F9

Accessibility & contrast

On white

2.85
#CB78E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CB78E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78E7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78E7#FFFFFF#000000##000000
##CB78E71.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#7B9CE4
Tritanopia (blue-blind)
#CA88A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb78e7;
/* rgb */ color: rgb(203, 120, 231);
/* oklch */ color: oklch(70.4% 0.176 317.1);
Tailwind
colors: {
  custom: {
    50: '#dda1ef',
    500: '#cb78e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb78e7;
$custom-light: #dda1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78e7",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 284.865,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70408,
    "c": 0.17646,
    "h": 317.1
  },
  "luminance": 0.31899
}

Semantic roles & 50–950 ramp

primary
#CB78E7
secondary
#D5EECD
accent
#D21444
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB78E7

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

Preview Lab → · Contrast checker → · Palette generator →

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