#CB78EF#CB78EF

#CB78EF is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.185 H 314.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CB78EF
RGBrgb(203, 120, 239)
HSLhsl(282, 79%, 70%)
HSVhsv(282, 50%, 94%)
CMYKcmyk(15.1%, 49.8%, 0%, 6.3%)
CIE-LABlab(63.64, 51.89, -47.14)
CIE-LCHlch(63.64, 70.11, 317.74°)
OKLaboklab(70.81% 0.1302 -0.1312)
OKLCHoklch(70.81% 0.185 314.8)
XYZxyz(46.9226, 32.3627, 85.4195)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78EF #9CEF78
analogous
#8F78EF #CB78EF #EF78D7
triadic
#CB78EF #EFCB78 #78EFCB
tetradic
#CB78EF #EF8F78 #9CEF78 #78D7EF
square
#CB78EF #EF8F78 #9CEF78 #78D7EF
split-complementary
#CB78EF #D7EF78 #78EF8F
monochromatic
#9B19D4 #B641E9 #CB78EF #E0AFF5 #F4E4FC

Accessibility & contrast

On white

2.81
#CB78EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CB78EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78EF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78EF#FFFFFF#000000##000000
##CB78EF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#779CEC
Tritanopia (blue-blind)
#C98AA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb78ef;
/* rgb */ color: rgb(203, 120, 239);
/* oklch */ color: oklch(70.8% 0.185 314.8);
Tailwind
colors: {
  custom: {
    50: '#dda1f5',
    500: '#cb78ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb78ef;
$custom-light: #dda1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78ef",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 281.849,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70814,
    "c": 0.18489,
    "h": 314.8
  },
  "luminance": 0.32361
}

Semantic roles & 50–950 ramp

primary
#CB78EF
secondary
#DBF2D1
accent
#DB0A4A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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