#CB76FE#CB76FE

#CB76FE is a light, highly saturated violet. Relative luminance 0.328; OKLCH L 71.3% C 0.204 H 311.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CB76FE
RGBrgb(203, 118, 254)
HSLhsl(278, 99%, 73%)
HSVhsv(278, 54%, 100%)
CMYKcmyk(20.1%, 53.5%, 0%, 0.4%)
CIE-LABlab(64.01, 56.04, -54.83)
CIE-LCHlch(64.01, 78.40, 315.63°)
OKLaboklab(71.33% 0.1341 -0.1536)
OKLCHoklch(71.33% 0.204 311.1)
XYZxyz(48.9932, 32.8101, 97.4988)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76FE #A9FE76
analogous
#8776FE #CB76FE #FE76ED
triadic
#CB76FE #FECB76 #76FECB
tetradic
#CB76FE #FE8776 #A9FE76 #76EDFE
square
#CB76FE #FE8776 #A9FE76 #76EDFE
split-complementary
#CB76FE #EDFE76 #76FE87
monochromatic
#9C02F8 #B439FE #CB76FE #E2B3FE #F3E1FF

Accessibility & contrast

On white

2.78
#CB76FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CB76FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76FE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76FE#FFFFFF#000000##000000
##CB76FE1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C58DAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb76fe;
/* rgb */ color: rgb(203, 118, 254);
/* oklch */ color: oklch(71.3% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#dea0ff',
    500: '#cb76fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb76fe;
$custom-light: #dea0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76fe",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 277.5,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71329,
    "c": 0.20392,
    "h": 311.1
  },
  "luminance": 0.32809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB76FE

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

Preview Lab → · Contrast checker → · Palette generator →

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