#CB78EB#CB78EB

#CB78EB is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.181 H 315.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CB78EB
RGBrgb(203, 120, 235)
HSLhsl(283, 74%, 70%)
HSVhsv(283, 49%, 92%)
CMYKcmyk(13.6%, 48.9%, 0%, 7.8%)
CIE-LABlab(63.45, 51.07, -45.23)
CIE-LCHlch(63.45, 68.22, 318.47°)
OKLaboklab(70.61% 0.1298 -0.1257)
OKLCHoklch(70.61% 0.181 315.9)
XYZxyz(46.3382, 32.1290, 82.3417)
Luminance0.3213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78EB #98EB78
analogous
#9178EB #CB78EB #EB78D2
triadic
#CB78EB #EBCB78 #78EBCB
tetradic
#CB78EB #EB9178 #98EB78 #78D2EB
square
#CB78EB #EB9178 #98EB78 #78D2EB
split-complementary
#CB78EB #D2EB78 #78EB91
monochromatic
#9B1ECB #B643E3 #CB78EB #E0ADF3 #F4E3FB

Accessibility & contrast

On white

2.83
#CB78EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CB78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78EB
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78EB#FFFFFF#000000##000000
##CB78EB1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#C989A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb78eb;
/* rgb */ color: rgb(203, 120, 235);
/* oklch */ color: oklch(70.6% 0.181 315.9);
Tailwind
colors: {
  custom: {
    50: '#dda1f2',
    500: '#cb78eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb78eb;
$custom-light: #dda1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78eb",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 283.304,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70609,
    "c": 0.18065,
    "h": 315.9
  },
  "luminance": 0.32128
}

Semantic roles & 50–950 ramp

primary
#CB78EB
secondary
#D8F0CF
accent
#D60F47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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