#CB76FC#CB76FC

#CB76FC is a light, highly saturated violet. Relative luminance 0.327; OKLCH L 71.2% C 0.202 H 311.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CB76FC
RGBrgb(203, 118, 252)
HSLhsl(278, 96%, 73%)
HSVhsv(278, 53%, 99%)
CMYKcmyk(19.4%, 53.2%, 0%, 1.2%)
CIE-LABlab(63.90, 55.62, -53.90)
CIE-LCHlch(63.90, 77.45, 315.90°)
OKLaboklab(71.22% 0.134 -0.1509)
OKLCHoklch(71.22% 0.202 311.6)
XYZxyz(48.6746, 32.6827, 95.8209)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76FC #A7FC76
analogous
#8876FC #CB76FC #FC76EA
triadic
#CB76FC #FCCB76 #76FCCB
tetradic
#CB76FC #FC8876 #A7FC76 #76EAFC
square
#CB76FC #FC8876 #A7FC76 #76EAFC
split-complementary
#CB76FC #EAFC76 #76FC88
monochromatic
#9C05F2 #B43AFB #CB76FC #E2B2FD #F4E1FE

Accessibility & contrast

On white

2.79
#CB76FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CB76FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76FC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76FC#FFFFFF#000000##000000
##CB76FC1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6D9DF9
Tritanopia (blue-blind)
#C68DAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb76fc;
/* rgb */ color: rgb(203, 118, 252);
/* oklch */ color: oklch(71.2% 0.202 311.6);
Tailwind
colors: {
  custom: {
    50: '#dea0fe',
    500: '#cb76fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb76fc;
$custom-light: #dea0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76fc",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 278.06,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71219,
    "c": 0.20179,
    "h": 311.6
  },
  "luminance": 0.32682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB76FC

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

Preview Lab → · Contrast checker → · Palette generator →

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