#CB76EF#CB76EF

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

Color values

HEX#CB76EF
RGBrgb(203, 118, 239)
HSLhsl(282, 79%, 70%)
HSVhsv(282, 51%, 94%)
CMYKcmyk(15.1%, 50.6%, 0%, 6.3%)
CIE-LABlab(63.25, 52.91, -47.76)
CIE-LCHlch(63.25, 71.28, 317.93°)
OKLaboklab(70.52% 0.1329 -0.133)
OKLCHoklch(70.52% 0.188 315)
XYZxyz(46.6846, 31.8867, 85.3401)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76EF #9AEF76
analogous
#8F76EF #CB76EF #EF76D6
triadic
#CB76EF #EFCB76 #76EFCB
tetradic
#CB76EF #EF8F76 #9AEF76 #76D6EF
square
#CB76EF #EF8F76 #9AEF76 #76D6EF
split-complementary
#CB76EF #D6EF76 #76EF8F
monochromatic
#9B19D2 #B63FE9 #CB76EF #E0ADF5 #F5E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB76EF#FFFFFF#000000##000000
##CB76EF1.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)
#5B94F3
Deuteranopia (green-blind)
#759BEC
Tritanopia (blue-blind)
#C989A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb76ef;
/* rgb */ color: rgb(203, 118, 239);
/* oklch */ color: oklch(70.5% 0.188 315.0);
Tailwind
colors: {
  custom: {
    50: '#dda0f5',
    500: '#cb76ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb76ef;
$custom-light: #dda0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76ef",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 282.149,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.70524,
    "c": 0.18803,
    "h": 315
  },
  "luminance": 0.31885
}

Semantic roles & 50–950 ramp

primary
#CB76EF
secondary
#DAF1CF
accent
#DB0A48
background
#FDFAFF
surface
#FBF3FE
border
#D4CDD6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB76EF

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

Preview Lab → · Contrast checker → · Palette generator →

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