#CB77FC#CB77FC

#CB77FC is a light, highly saturated violet. Relative luminance 0.329; OKLCH L 71.4% C 0.200 H 311.5°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CB77FC
RGBrgb(203, 119, 252)
HSLhsl(278, 96%, 73%)
HSVhsv(278, 53%, 99%)
CMYKcmyk(19.4%, 52.8%, 0%, 1.2%)
CIE-LABlab(64.10, 55.11, -53.59)
CIE-LCHlch(64.10, 76.87, 315.80°)
OKLaboklab(71.36% 0.1327 -0.15)
OKLCHoklch(71.36% 0.2 311.5)
XYZxyz(48.7930, 32.9195, 95.8603)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77FC #A8FC77
analogous
#8977FC #CB77FC #FC77EA
triadic
#CB77FC #FCCB77 #77FCCB
tetradic
#CB77FC #FC8977 #A8FC77 #77EAFC
square
#CB77FC #FC8977 #A8FC77 #77EAFC
split-complementary
#CB77FC #EAFC77 #77FC89
monochromatic
#9C05F3 #B43BFB #CB77FC #E2B3FD #F4E1FE

Accessibility & contrast

On white

2.77
#CB77FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CB77FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77FC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77FC#FFFFFF#000000##000000
##CB77FC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#C68EAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb77fc;
/* rgb */ color: rgb(203, 119, 252);
/* oklch */ color: oklch(71.4% 0.200 311.5);
Tailwind
colors: {
  custom: {
    50: '#dea1fe',
    500: '#cb77fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb77fc;
$custom-light: #dea1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77fc",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 277.895,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71361,
    "c": 0.20027,
    "h": 311.5
  },
  "luminance": 0.32918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB77FC

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

Preview Lab → · Contrast checker → · Palette generator →

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