#CB77FE#CB77FE

#CB77FE is a light, highly saturated violet. Relative luminance 0.330; OKLCH L 71.5% C 0.202 H 311.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CB77FE
RGBrgb(203, 119, 254)
HSLhsl(277, 99%, 73%)
HSVhsv(277, 53%, 100%)
CMYKcmyk(20.1%, 53.1%, 0%, 0.4%)
CIE-LABlab(64.20, 55.54, -54.52)
CIE-LCHlch(64.20, 77.83, 315.53°)
OKLaboklab(71.47% 0.1329 -0.1527)
OKLCHoklch(71.47% 0.202 311)
XYZxyz(49.1116, 33.0469, 97.5383)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77FE #AAFE77
analogous
#8777FE #CB77FE #FE77EE
triadic
#CB77FE #FECB77 #77FECB
tetradic
#CB77FE #FE8777 #AAFE77 #77EEFE
square
#CB77FE #FE8777 #AAFE77 #77EEFE
split-complementary
#CB77FE #EEFE77 #77FE87
monochromatic
#9B02F9 #B43AFE #CB77FE #E2B4FE #F3E1FF

Accessibility & contrast

On white

2.76
#CB77FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CB77FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77FE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77FE#FFFFFF#000000##000000
##CB77FE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#C58EB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb77fe;
/* rgb */ color: rgb(203, 119, 254);
/* oklch */ color: oklch(71.5% 0.202 311.0);
Tailwind
colors: {
  custom: {
    50: '#dea1ff',
    500: '#cb77fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb77fe;
$custom-light: #dea1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77fe",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 277.333,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7147,
    "c": 0.20241,
    "h": 311
  },
  "luminance": 0.33046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB77FE

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

Preview Lab → · Contrast checker → · Palette generator →

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