#CB78F2#CB78F2

#CB78F2 is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.0% C 0.188 H 314.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CB78F2
RGBrgb(203, 120, 242)
HSLhsl(281, 82%, 71%)
HSVhsv(281, 50%, 95%)
CMYKcmyk(16.1%, 50.4%, 0%, 5.1%)
CIE-LABlab(63.79, 52.51, -48.57)
CIE-LCHlch(63.79, 71.53, 317.23°)
OKLaboklab(70.97% 0.1306 -0.1354)
OKLCHoklch(70.97% 0.188 314)
XYZxyz(47.3695, 32.5415, 87.7730)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78F2 #9FF278
analogous
#8E78F2 #CB78F2 #F278DC
triadic
#CB78F2 #F2CB78 #78F2CB
tetradic
#CB78F2 #F28E78 #9FF278 #78DCF2
square
#CB78F2 #F28E78 #9FF278 #78DCF2
split-complementary
#CB78F2 #DCF278 #78F28E
monochromatic
#9B15DB #B540ED #CB78F2 #E1B0F7 #F4E3FC

Accessibility & contrast

On white

2.80
#CB78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CB78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78F2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78F2#FFFFFF#000000##000000
##CB78F21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#C88BAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb78f2;
/* rgb */ color: rgb(203, 120, 242);
/* oklch */ color: oklch(71.0% 0.188 314.0);
Tailwind
colors: {
  custom: {
    50: '#dda1f7',
    500: '#cb78f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb78f2;
$custom-light: #dda1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78f2",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 280.82,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7097,
    "c": 0.18807,
    "h": 314
  },
  "luminance": 0.3254
}

Semantic roles & 50–950 ramp

primary
#CB78F2
secondary
#DDF3D3
accent
#DF074C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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