#CB76DF#CB76DF

#CB76DF is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.7% C 0.171 H 319.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CB76DF
RGBrgb(203, 118, 223)
HSLhsl(289, 62%, 67%)
HSVhsv(289, 47%, 87%)
CMYKcmyk(9%, 47.1%, 0%, 12.5%)
CIE-LABlab(62.49, 49.70, -40.06)
CIE-LCHlch(62.49, 63.83, 321.13°)
OKLaboklab(69.72% 0.1309 -0.1107)
OKLCHoklch(69.72% 0.171 319.8)
XYZxyz(44.4246, 30.9827, 73.4379)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76DF #8ADF76
analogous
#9776DF #CB76DF #DF76BF
triadic
#CB76DF #DFCB76 #76DFCB
tetradic
#CB76DF #DF9776 #8ADF76 #76BFDF
square
#CB76DF #DF9776 #8ADF76 #76BFDF
split-complementary
#CB76DF #BFDF76 #76DF97
monochromatic
#9729B1 #B844D3 #CB76DF #DEA8EB #F1D9F6

Accessibility & contrast

On white

2.92
#CB76DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CB76DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76DF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76DF#FFFFFF#000000##000000
##CB76DF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#7E9ADC
Tritanopia (blue-blind)
#CC84A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb76df;
/* rgb */ color: rgb(203, 118, 223);
/* oklch */ color: oklch(69.7% 0.171 319.8);
Tailwind
colors: {
  custom: {
    50: '#dda0e9',
    500: '#cb76df',
    950: '#000000',
  },
}
SCSS
$custom: #cb76df;
$custom-light: #dda0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76df",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 288.571,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69717,
    "c": 0.17144,
    "h": 319.8
  },
  "luminance": 0.30981
}

Semantic roles & 50–950 ramp

primary
#CB76DF
secondary
#CEE9C8
accent
#CA1C3D
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB76DF

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

Preview Lab → · Contrast checker → · Palette generator →

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