#CB76F7#CB76F7

#CB76F7 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.9% C 0.196 H 312.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CB76F7
RGBrgb(203, 118, 247)
HSLhsl(280, 89%, 72%)
HSVhsv(280, 52%, 97%)
CMYKcmyk(17.8%, 52.2%, 0%, 3.1%)
CIE-LABlab(63.65, 54.57, -51.55)
CIE-LCHlch(63.65, 75.07, 316.63°)
OKLaboklab(70.95% 0.1336 -0.144)
OKLCHoklch(70.95% 0.196 312.9)
XYZxyz(47.8927, 32.3699, 91.7028)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB76F7 #A2F776
analogous
#8B76F7 #CB76F7 #F776E3
triadic
#CB76F7 #F7CB76 #76F7CB
tetradic
#CB76F7 #F78B76 #A2F776 #76E3F7
square
#CB76F7 #F78B76 #A2F776 #76E3F7
split-complementary
#CB76F7 #E3F776 #76F78B
monochromatic
#9C0DE5 #B53CF4 #CB76F7 #E1B0FA #F4E2FD

Accessibility & contrast

On white

2.81
#CB76F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CB76F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB76F7
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB76F7#FFFFFF#000000##000000
##CB76F71.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#709CF4
Tritanopia (blue-blind)
#C78BAC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb76f7;
/* rgb */ color: rgb(203, 118, 247);
/* oklch */ color: oklch(70.9% 0.196 312.9);
Tailwind
colors: {
  custom: {
    50: '#dda0fa',
    500: '#cb76f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb76f7;
$custom-light: #dda0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb76f7",
  "rgb": {
    "r": 203,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 279.535,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70948,
    "c": 0.19648,
    "h": 312.9
  },
  "luminance": 0.32369
}

Semantic roles & 50–950 ramp

primary
#CB76F7
secondary
#DFF5D4
accent
#E6004E
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB76F7

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

Preview Lab → · Contrast checker → · Palette generator →

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