#CB78EC#CB78EC

#CB78EC is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.7% C 0.182 H 315.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CB78EC
RGBrgb(203, 120, 236)
HSLhsl(283, 75%, 70%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(14%, 49.2%, 0%, 7.5%)
CIE-LABlab(63.50, 51.27, -45.71)
CIE-LCHlch(63.50, 68.69, 318.28°)
OKLaboklab(70.66% 0.1299 -0.1271)
OKLCHoklch(70.66% 0.182 315.6)
XYZxyz(46.4831, 32.1869, 83.1047)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78EC #99EC78
analogous
#9178EC #CB78EC #EC78D3
triadic
#CB78EC #ECCB78 #78ECCB
tetradic
#CB78EC #EC9178 #99EC78 #78D3EC
square
#CB78EC #EC9178 #99EC78 #78D3EC
split-complementary
#CB78EC #D3EC78 #78EC91
monochromatic
#9B1DCD #B642E4 #CB78EC #E0AEF4 #F4E3FB

Accessibility & contrast

On white

2.82
#CB78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CB78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78EC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78EC#FFFFFF#000000##000000
##CB78EC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#C989A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb78ec;
/* rgb */ color: rgb(203, 120, 236);
/* oklch */ color: oklch(70.7% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#dda1f2',
    500: '#cb78ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb78ec;
$custom-light: #dda1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78ec",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 282.931,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7066,
    "c": 0.18171,
    "h": 315.6
  },
  "luminance": 0.32186
}

Semantic roles & 50–950 ramp

primary
#CB78EC
secondary
#D9F0D0
accent
#D70E47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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