#CB77DB#CB77DB

#CB77DB is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.7% C 0.166 H 321.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CB77DB
RGBrgb(203, 119, 219)
HSLhsl(290, 58%, 66%)
HSVhsv(290, 46%, 86%)
CMYKcmyk(7.3%, 45.7%, 0%, 14.1%)
CIE-LABlab(62.51, 48.40, -37.80)
CIE-LCHlch(62.51, 61.41, 322.01°)
OKLaboklab(69.67% 0.1289 -0.1042)
OKLCHoklch(69.67% 0.166 321)
XYZxyz(44.0101, 31.0063, 70.6707)
Luminance0.3100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77DB #87DB77
analogous
#9977DB #CB77DB #DB77B9
triadic
#CB77DB #DBCB77 #77DBCB
tetradic
#CB77DB #DB9977 #87DB77 #77B9DB
square
#CB77DB #DB9977 #87DB77 #77B9DB
split-complementary
#CB77DB #B9DB77 #77DB99
monochromatic
#962DAA #B847CE #CB77DB #DEA7E8 #F0D8F5

Accessibility & contrast

On white

2.92
#CB77DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CB77DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77DB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77DB#FFFFFF#000000##000000
##CB77DB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DE
Deuteranopia (green-blind)
#809AD8
Tritanopia (blue-blind)
#CD849F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb77db;
/* rgb */ color: rgb(203, 119, 219);
/* oklch */ color: oklch(69.7% 0.166 321.0);
Tailwind
colors: {
  custom: {
    50: '#dda0e6',
    500: '#cb77db',
    950: '#000000',
  },
}
SCSS
$custom: #cb77db;
$custom-light: #dda0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77db",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 290.4,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69673,
    "c": 0.16572,
    "h": 321
  },
  "luminance": 0.31005
}

Semantic roles & 50–950 ramp

primary
#CB77DB
secondary
#CCE7C7
accent
#C6203A
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB77DB

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

Preview Lab → · Contrast checker → · Palette generator →

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