#CB77EE#CB77EE

#CB77EE is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.185 H 315.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CB77EE
RGBrgb(203, 119, 238)
HSLhsl(282, 78%, 70%)
HSVhsv(282, 50%, 93%)
CMYKcmyk(14.7%, 50%, 0%, 6.7%)
CIE-LABlab(63.40, 52.19, -46.98)
CIE-LCHlch(63.40, 70.22, 318.01°)
OKLaboklab(70.62% 0.1315 -0.1307)
OKLCHoklch(70.62% 0.185 315.2)
XYZxyz(46.6556, 32.0645, 84.6037)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77EE #9AEE77
analogous
#9077EE #CB77EE #EE77D5
triadic
#CB77EE #EECB77 #77EECB
tetradic
#CB77EE #EE9077 #9AEE77 #77D5EE
square
#CB77EE #EE9077 #9AEE77 #77D5EE
split-complementary
#CB77EE #D5EE77 #77EE90
monochromatic
#9B1AD1 #B641E7 #CB77EE #E0ADF5 #F5E4FC

Accessibility & contrast

On white

2.83
#CB77EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CB77EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77EE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77EE#FFFFFF#000000##000000
##CB77EE1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F2
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#C989A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb77ee;
/* rgb */ color: rgb(203, 119, 238);
/* oklch */ color: oklch(70.6% 0.185 315.2);
Tailwind
colors: {
  custom: {
    50: '#dda1f4',
    500: '#cb77ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb77ee;
$custom-light: #dda1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77ee",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 282.353,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.70617,
    "c": 0.18541,
    "h": 315.2
  },
  "luminance": 0.32063
}

Semantic roles & 50–950 ramp

primary
#CB77EE
secondary
#DAF1D0
accent
#DA0B48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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