#CB76FA#CB76FA

#CB76FA is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.1% C 0.200 H 312.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CB76FA
RGBrgb(203, 118, 250)
HSLhsl(279, 93%, 72%)
HSVhsv(279, 53%, 98%)
CMYKcmyk(18.8%, 52.8%, 0%, 2%)
CIE-LABlab(63.80, 55.20, -52.96)
CIE-LCHlch(63.80, 76.49, 316.19°)
OKLaboklab(71.11% 0.1339 -0.1481)
OKLCHoklch(71.11% 0.2 312.1)
XYZxyz(48.3593, 32.5566, 94.1605)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76FA #A5FA76
analogous
#8976FA #CB76FA #FA76E7
triadic
#CB76FA #FACB76 #76FACB
tetradic
#CB76FA #FA8976 #A5FA76 #76E7FA
square
#CB76FA #FA8976 #A5FA76 #76E7FA
split-complementary
#CB76FA #E7FA76 #76FA89
monochromatic
#9C09ED #B53BF8 #CB76FA #E1B1FC #F4E1FE

Accessibility & contrast

On white

2.80
#CB76FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CB76FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76FA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76FA#FFFFFF#000000##000000
##CB76FA1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6E9CF7
Tritanopia (blue-blind)
#C68CAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb76fa;
/* rgb */ color: rgb(203, 118, 250);
/* oklch */ color: oklch(71.1% 0.200 312.1);
Tailwind
colors: {
  custom: {
    50: '#dda0fc',
    500: '#cb76fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb76fa;
$custom-light: #dda0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76fa",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 278.636,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7111,
    "c": 0.19967,
    "h": 312.1
  },
  "luminance": 0.32556
}

Semantic roles & 50–950 ramp

primary
#CB76FA
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB76FA

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

Preview Lab → · Contrast checker → · Palette generator →

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