#CB76F2#CB76F2

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

Color values

HEX#CB76F2
RGBrgb(203, 118, 242)
HSLhsl(281, 83%, 71%)
HSVhsv(281, 51%, 95%)
CMYKcmyk(16.1%, 51.2%, 0%, 5.1%)
CIE-LABlab(63.40, 53.53, -49.19)
CIE-LCHlch(63.40, 72.70, 317.42°)
OKLaboklab(70.68% 0.1332 -0.1372)
OKLCHoklch(70.68% 0.191 314.2)
XYZxyz(47.1314, 32.0654, 87.6937)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76F2 #9DF276
analogous
#8D76F2 #CB76F2 #F276DB
triadic
#CB76F2 #F2CB76 #76F2CB
tetradic
#CB76F2 #F28D76 #9DF276 #76DBF2
square
#CB76F2 #F28D76 #9DF276 #76DBF2
split-complementary
#CB76F2 #DBF276 #76F28D
monochromatic
#9B15D9 #B63EED #CB76F2 #E0AEF7 #F4E3FC

Accessibility & contrast

On white

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

On black

7.41
#CB76F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76F2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76F2#FFFFFF#000000##000000
##CB76F21.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#739CEF
Tritanopia (blue-blind)
#C88AA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb76f2;
/* rgb */ color: rgb(203, 118, 242);
/* oklch */ color: oklch(70.7% 0.191 314.2);
Tailwind
colors: {
  custom: {
    50: '#dda0f7',
    500: '#cb76f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb76f2;
$custom-light: #dda0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76f2",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 281.129,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70681,
    "c": 0.19119,
    "h": 314.2
  },
  "luminance": 0.32064
}

Semantic roles & 50–950 ramp

primary
#CB76F2
secondary
#DCF3D1
accent
#DF064B
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB76F2

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

Preview Lab → · Contrast checker → · Palette generator →

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