#CB76ED#CB76ED

#CB76ED is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.4% C 0.186 H 315.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CB76ED
RGBrgb(203, 118, 237)
HSLhsl(283, 77%, 70%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(14.3%, 50.2%, 0%, 7.1%)
CIE-LABlab(63.15, 52.50, -46.81)
CIE-LCHlch(63.15, 70.34, 318.28°)
OKLaboklab(70.42% 0.1327 -0.1303)
OKLCHoklch(70.42% 0.186 315.5)
XYZxyz(46.3907, 31.7692, 83.7927)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76ED #98ED76
analogous
#9076ED #CB76ED #ED76D4
triadic
#CB76ED #EDCB76 #76EDCB
tetradic
#CB76ED #ED9076 #98ED76 #76D4ED
square
#CB76ED #ED9076 #98ED76 #76D4ED
split-complementary
#CB76ED #D4ED76 #76ED90
monochromatic
#9B1BCE #B640E6 #CB76ED #E0ACF4 #F4E2FB

Accessibility & contrast

On white

2.86
#CB76ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CB76ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76ED
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76ED#FFFFFF#000000##000000
##CB76ED1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F1
Deuteranopia (green-blind)
#769BEA
Tritanopia (blue-blind)
#C988A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb76ed;
/* rgb */ color: rgb(203, 118, 237);
/* oklch */ color: oklch(70.4% 0.186 315.5);
Tailwind
colors: {
  custom: {
    50: '#dda0f3',
    500: '#cb76ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb76ed;
$custom-light: #dda0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76ed",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 282.857,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7042,
    "c": 0.18594,
    "h": 315.5
  },
  "luminance": 0.31768
}

Semantic roles & 50–950 ramp

primary
#CB76ED
secondary
#D8F0CE
accent
#D90D47
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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