#CB76FB#CB76FB

#CB76FB is a light, highly saturated violet. Relative luminance 0.326; OKLCH L 71.2% C 0.201 H 311.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CB76FB
RGBrgb(203, 118, 251)
HSLhsl(278, 94%, 72%)
HSVhsv(278, 53%, 98%)
CMYKcmyk(19.1%, 53%, 0%, 1.6%)
CIE-LABlab(63.85, 55.41, -53.43)
CIE-LCHlch(63.85, 76.97, 316.04°)
OKLaboklab(71.16% 0.1339 -0.1495)
OKLCHoklch(71.16% 0.201 311.9)
XYZxyz(48.5165, 32.6195, 94.9885)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76FB #A6FB76
analogous
#8976FB #CB76FB #FB76E8
triadic
#CB76FB #FBCB76 #76FBCB
tetradic
#CB76FB #FB8976 #A6FB76 #76E8FB
square
#CB76FB #FB8976 #A6FB76 #76E8FB
split-complementary
#CB76FB #E8FB76 #76FB89
monochromatic
#9C07F0 #B43BF9 #CB76FB #E2B1FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.52
#CB76FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76FB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76FB#FFFFFF#000000##000000
##CB76FB1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#C68CAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb76fb;
/* rgb */ color: rgb(203, 118, 251);
/* oklch */ color: oklch(71.2% 0.201 311.9);
Tailwind
colors: {
  custom: {
    50: '#dea0fd',
    500: '#cb76fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb76fb;
$custom-light: #dea0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76fb",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 278.346,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71164,
    "c": 0.20072,
    "h": 311.9
  },
  "luminance": 0.32618
}

Semantic roles & 50–950 ramp

primary
#CB76FB
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB76FB

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

Preview Lab → · Contrast checker → · Palette generator →

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