#CB78ED#CB78ED

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

Color values

HEX#CB78ED
RGBrgb(203, 120, 237)
HSLhsl(283, 76%, 70%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(14.3%, 49.4%, 0%, 7.1%)
CIE-LABlab(63.55, 51.48, -46.19)
CIE-LCHlch(63.55, 69.16, 318.10°)
OKLaboklab(70.71% 0.13 -0.1285)
OKLCHoklch(70.71% 0.183 315.3)
XYZxyz(46.6288, 32.2452, 83.8720)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78ED #9AED78
analogous
#9078ED #CB78ED #ED78D5
triadic
#CB78ED #EDCB78 #78EDCB
tetradic
#CB78ED #ED9078 #9AED78 #78D5ED
square
#CB78ED #ED9078 #9AED78 #78D5ED
split-complementary
#CB78ED #D5ED78 #78ED90
monochromatic
#9B1CCF #B642E6 #CB78ED #E0AEF4 #F5E4FB

Accessibility & contrast

On white

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

On black

7.45
#CB78ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78ED
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78ED#FFFFFF#000000##000000
##CB78ED1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F1
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#C98AA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb78ed;
/* rgb */ color: rgb(203, 120, 237);
/* oklch */ color: oklch(70.7% 0.183 315.3);
Tailwind
colors: {
  custom: {
    50: '#dda1f3',
    500: '#cb78ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb78ed;
$custom-light: #dda1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78ed",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 282.564,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.70711,
    "c": 0.18277,
    "h": 315.3
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#CB78ED
secondary
#DAF1D0
accent
#D90D48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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