#CB77FA#CB77FA

#CB77FA is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.3% C 0.198 H 312.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CB77FA
RGBrgb(203, 119, 250)
HSLhsl(278, 93%, 72%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(18.8%, 52.4%, 0%, 2%)
CIE-LABlab(63.99, 54.69, -52.65)
CIE-LCHlch(63.99, 75.92, 316.09°)
OKLaboklab(71.25% 0.1326 -0.1472)
OKLCHoklch(71.25% 0.198 312)
XYZxyz(48.4777, 32.7934, 94.2000)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77FA #A6FA77
analogous
#8977FA #CB77FA #FA77E8
triadic
#CB77FA #FACB77 #77FACB
tetradic
#CB77FA #FA8977 #A6FA77 #77E8FA
square
#CB77FA #FA8977 #A6FA77 #77E8FA
split-complementary
#CB77FA #E8FA77 #77FA89
monochromatic
#9C09EE #B43CF8 #CB77FA #E2B2FC #F4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB77FA#FFFFFF#000000##000000
##CB77FA1.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)
#5497FE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#C68DAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb77fa;
/* rgb */ color: rgb(203, 119, 250);
/* oklch */ color: oklch(71.3% 0.198 312.0);
Tailwind
colors: {
  custom: {
    50: '#dda1fc',
    500: '#cb77fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb77fa;
$custom-light: #dda1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77fa",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 278.473,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71252,
    "c": 0.19814,
    "h": 312
  },
  "luminance": 0.32792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB77FA

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

Preview Lab → · Contrast checker → · Palette generator →

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