#CB77E2#CB77E2

#CB77E2 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.0% C 0.173 H 318.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CB77E2
RGBrgb(203, 119, 226)
HSLhsl(287, 65%, 68%)
HSVhsv(287, 47%, 89%)
CMYKcmyk(10.2%, 47.3%, 0%, 11.4%)
CIE-LABlab(62.83, 49.77, -41.21)
CIE-LCHlch(62.83, 64.62, 320.38°)
OKLaboklab(70.01% 0.1299 -0.114)
OKLCHoklch(70.01% 0.173 318.7)
XYZxyz(44.9511, 31.3827, 75.6264)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77E2 #8EE277
analogous
#9677E2 #CB77E2 #E277C3
triadic
#CB77E2 #E2CB77 #77E2CB
tetradic
#CB77E2 #E29677 #8EE277 #77C3E2
square
#CB77E2 #E29677 #8EE277 #77C3E2
split-complementary
#CB77E2 #C3E277 #77E296
monochromatic
#9827B7 #B845D7 #CB77E2 #DEA9ED #F2DCF8

Accessibility & contrast

On white

2.89
#CB77E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CB77E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77E2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77E2#FFFFFF#000000##000000
##CB77E21.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6592E6
Deuteranopia (green-blind)
#7D9BDF
Tritanopia (blue-blind)
#CB86A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb77e2;
/* rgb */ color: rgb(203, 119, 226);
/* oklch */ color: oklch(70.0% 0.173 318.7);
Tailwind
colors: {
  custom: {
    50: '#dda1eb',
    500: '#cb77e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb77e2;
$custom-light: #dda1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77e2",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 287.103,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70012,
    "c": 0.17288,
    "h": 318.7
  },
  "luminance": 0.31381
}

Semantic roles & 50–950 ramp

primary
#CB77E2
secondary
#D1EBCA
accent
#CD193F
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB77E2

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

Preview Lab → · Contrast checker → · Palette generator →

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