#CB77EF#CB77EF

#CB77EF is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.7% C 0.186 H 314.9°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CB77EF
RGBrgb(203, 119, 239)
HSLhsl(282, 79%, 70%)
HSVhsv(282, 50%, 94%)
CMYKcmyk(15.1%, 50.2%, 0%, 6.3%)
CIE-LABlab(63.44, 52.40, -47.45)
CIE-LCHlch(63.44, 70.69, 317.83°)
OKLaboklab(70.67% 0.1316 -0.1321)
OKLCHoklch(70.67% 0.186 314.9)
XYZxyz(46.8029, 32.1235, 85.3796)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB77EF #9BEF77
analogous
#8F77EF #CB77EF #EF77D7
triadic
#CB77EF #EFCB77 #77EFCB
tetradic
#CB77EF #EF8F77 #9BEF77 #77D7EF
square
#CB77EF #EF8F77 #9BEF77 #77D7EF
split-complementary
#CB77EF #D7EF77 #77EF8F
monochromatic
#9B19D3 #B640E9 #CB77EF #E0AEF5 #F5E4FC

Accessibility & contrast

On white

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

On black

7.42
#CB77EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB77EF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB77EF#FFFFFF#000000##000000
##CB77EF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#C98AA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb77ef;
/* rgb */ color: rgb(203, 119, 239);
/* oklch */ color: oklch(70.7% 0.186 314.9);
Tailwind
colors: {
  custom: {
    50: '#dda1f5',
    500: '#cb77ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb77ef;
$custom-light: #dda1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb77ef",
  "rgb": {
    "r": 203,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 282,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70669,
    "c": 0.18646,
    "h": 314.9
  },
  "luminance": 0.32122
}

Semantic roles & 50–950 ramp

primary
#CB77EF
secondary
#DAF2D0
accent
#DB0A49
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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