#CB77F9#CB77F9

#CB77F9 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.2% C 0.197 H 312.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CB77F9
RGBrgb(203, 119, 249)
HSLhsl(279, 92%, 72%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18.5%, 52.2%, 0%, 2.4%)
CIE-LABlab(63.94, 54.48, -52.18)
CIE-LCHlch(63.94, 75.44, 316.23°)
OKLaboklab(71.2% 0.1325 -0.1459)
OKLCHoklch(71.2% 0.197 312.2)
XYZxyz(48.3213, 32.7308, 93.3763)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77F9 #A5F977
analogous
#8A77F9 #CB77F9 #F977E6
triadic
#CB77F9 #F9CB77 #77F9CB
tetradic
#CB77F9 #F98A77 #A5F977 #77E6F9
square
#CB77F9 #F98A77 #A5F977 #77E6F9
split-complementary
#CB77F9 #E6F977 #77F98A
monochromatic
#9C0AEB #B53CF6 #CB77F9 #E1B2FC #F4E2FE

Accessibility & contrast

On white

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

On black

7.55
#CB77F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77F9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77F9#FFFFFF#000000##000000
##CB77F91.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FD
Deuteranopia (green-blind)
#709DF6
Tritanopia (blue-blind)
#C68DAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb77f9;
/* rgb */ color: rgb(203, 119, 249);
/* oklch */ color: oklch(71.2% 0.197 312.2);
Tailwind
colors: {
  custom: {
    50: '#dda1fc',
    500: '#cb77f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb77f9;
$custom-light: #dda1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77f9",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 278.769,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71198,
    "c": 0.19707,
    "h": 312.2
  },
  "luminance": 0.3273
}

Semantic roles & 50–950 ramp

primary
#CB77F9
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB77F9

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

Preview Lab → · Contrast checker → · Palette generator →

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