#CB77EB#CB77EB

#CB77EB is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.5% C 0.182 H 316.0°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CB77EB
RGBrgb(203, 119, 235)
HSLhsl(283, 74%, 69%)
HSVhsv(283, 49%, 92%)
CMYKcmyk(13.6%, 49.4%, 0%, 7.8%)
CIE-LABlab(63.25, 51.58, -45.54)
CIE-LCHlch(63.25, 68.81, 318.56°)
OKLaboklab(70.46% 0.1311 -0.1266)
OKLCHoklch(70.46% 0.182 316)
XYZxyz(46.2186, 31.8897, 82.3018)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77EB #97EB77
analogous
#9177EB #CB77EB #EB77D1
triadic
#CB77EB #EBCB77 #77EBCB
tetradic
#CB77EB #EB9177 #97EB77 #77D1EB
square
#CB77EB #EB9177 #97EB77 #77D1EB
split-complementary
#CB77EB #D1EB77 #77EB91
monochromatic
#9A1ECA #B742E3 #CB77EB #DFACF3 #F4E2FB

Accessibility & contrast

On white

2.85
#CB77EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CB77EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77EB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77EB#FFFFFF#000000##000000
##CB77EB1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#C988A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb77eb;
/* rgb */ color: rgb(203, 119, 235);
/* oklch */ color: oklch(70.5% 0.182 316.0);
Tailwind
colors: {
  custom: {
    50: '#dda1f2',
    500: '#cb77eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb77eb;
$custom-light: #dda1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77eb",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 283.448,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.18225,
    "h": 316
  },
  "luminance": 0.31888
}

Semantic roles & 50–950 ramp

primary
#CB77EB
secondary
#D7F0CE
accent
#D60F46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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