#CB77DF#CB77DF

#CB77DF is a light, vivid purple. Relative luminance 0.312; OKLCH L 69.9% C 0.170 H 319.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CB77DF
RGBrgb(203, 119, 223)
HSLhsl(288, 62%, 67%)
HSVhsv(288, 47%, 87%)
CMYKcmyk(9%, 46.6%, 0%, 12.5%)
CIE-LABlab(62.69, 49.18, -39.75)
CIE-LCHlch(62.69, 63.24, 321.05°)
OKLaboklab(69.86% 0.1295 -0.1098)
OKLCHoklch(69.86% 0.17 319.7)
XYZxyz(44.5430, 31.2195, 73.4773)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77DF #8BDF77
analogous
#9777DF #CB77DF #DF77BF
triadic
#CB77DF #DFCB77 #77DFCB
tetradic
#CB77DF #DF9777 #8BDF77 #77BFDF
square
#CB77DF #DF9777 #8BDF77 #77BFDF
split-complementary
#CB77DF #BFDF77 #77DF97
monochromatic
#982AB2 #B845D3 #CB77DF #DEA9EB #F1DAF6

Accessibility & contrast

On white

2.90
#CB77DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CB77DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77DF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77DF#FFFFFF#000000##000000
##CB77DF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6692E3
Deuteranopia (green-blind)
#7E9BDC
Tritanopia (blue-blind)
#CC85A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb77df;
/* rgb */ color: rgb(203, 119, 223);
/* oklch */ color: oklch(69.9% 0.170 319.7);
Tailwind
colors: {
  custom: {
    50: '#dda1e9',
    500: '#cb77df',
    950: '#000000',
  },
}
SCSS
$custom: #cb77df;
$custom-light: #dda1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77df",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 288.462,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69865,
    "c": 0.1698,
    "h": 319.7
  },
  "luminance": 0.31218
}

Semantic roles & 50–950 ramp

primary
#CB77DF
secondary
#CFE9C8
accent
#CA1C3D
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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