#CB78FC#CB78FC

#CB78FC is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.5% C 0.199 H 311.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CB78FC
RGBrgb(203, 120, 252)
HSLhsl(278, 96%, 73%)
HSVhsv(278, 52%, 99%)
CMYKcmyk(19.4%, 52.4%, 0%, 1.2%)
CIE-LABlab(64.29, 54.61, -53.28)
CIE-LCHlch(64.29, 76.29, 315.70°)
OKLaboklab(71.5% 0.1314 -0.1491)
OKLCHoklch(71.5% 0.199 311.4)
XYZxyz(48.9126, 33.1587, 95.9002)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78FC #A9FC78
analogous
#8978FC #CB78FC #FC78EB
triadic
#CB78FC #FCCB78 #78FCCB
tetradic
#CB78FC #FC8978 #A9FC78 #78EBFC
square
#CB78FC #FC8978 #A9FC78 #78EBFC
split-complementary
#CB78FC #EBFC78 #78FC89
monochromatic
#9C05F4 #B43CFB #CB78FC #E2B4FD #F3E1FE

Accessibility & contrast

On white

2.75
#CB78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CB78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78FC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78FC#FFFFFF#000000##000000
##CB78FC1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#C58EAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb78fc;
/* rgb */ color: rgb(203, 120, 252);
/* oklch */ color: oklch(71.5% 0.199 311.4);
Tailwind
colors: {
  custom: {
    50: '#dda2fe',
    500: '#cb78fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb78fc;
$custom-light: #dda2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78fc",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 277.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71504,
    "c": 0.19876,
    "h": 311.4
  },
  "luminance": 0.33158
}

Semantic roles & 50–950 ramp

primary
#CB78FC
secondary
#E1F7D4
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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