#CB77FB#CB77FB

#CB77FB is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.3% C 0.199 H 311.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CB77FB
RGBrgb(203, 119, 251)
HSLhsl(278, 94%, 73%)
HSVhsv(278, 53%, 98%)
CMYKcmyk(19.1%, 52.6%, 0%, 1.6%)
CIE-LABlab(64.04, 54.90, -53.12)
CIE-LCHlch(64.04, 76.39, 315.94°)
OKLaboklab(71.31% 0.1327 -0.1486)
OKLCHoklch(71.31% 0.199 311.8)
XYZxyz(48.6349, 32.8563, 95.0279)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77FB #A7FB77
analogous
#8977FB #CB77FB #FB77E9
triadic
#CB77FB #FBCB77 #77FBCB
tetradic
#CB77FB #FB8977 #A7FB77 #77E9FB
square
#CB77FB #FB8977 #A7FB77 #77E9FB
split-complementary
#CB77FB #E9FB77 #77FB89
monochromatic
#9C07F1 #B43CF9 #CB77FB #E2B2FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.57
#CB77FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77FB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77FB#FFFFFF#000000##000000
##CB77FB1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb77fb;
/* rgb */ color: rgb(203, 119, 251);
/* oklch */ color: oklch(71.3% 0.199 311.8);
Tailwind
colors: {
  custom: {
    50: '#dda1fd',
    500: '#cb77fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb77fb;
$custom-light: #dda1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77fb",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 278.182,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71306,
    "c": 0.19921,
    "h": 311.8
  },
  "luminance": 0.32855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB77FB

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

Preview Lab → · Contrast checker → · Palette generator →

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