#CD76F6#CD76F6

#CD76F6 is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.1% C 0.196 H 313.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CD76F6
RGBrgb(205, 118, 246)
HSLhsl(281, 88%, 71%)
HSVhsv(281, 52%, 96%)
CMYKcmyk(16.7%, 52%, 0%, 3.5%)
CIE-LABlab(63.83, 54.88, -50.70)
CIE-LCHlch(63.83, 74.71, 317.27°)
OKLaboklab(71.11% 0.1359 -0.1415)
OKLCHoklch(71.11% 0.196 313.8)
XYZxyz(48.2871, 32.5911, 90.9180)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76F6 #9FF676
analogous
#8D76F6 #CD76F6 #F676DF
triadic
#CD76F6 #F6CD76 #76F6CD
tetradic
#CD76F6 #F68D76 #9FF676 #76DFF6
square
#CD76F6 #F68D76 #9FF676 #76DFF6
split-complementary
#CD76F6 #DFF676 #76F68D
monochromatic
#9F0FE3 #B83DF2 #CD76F6 #E2AFFA #F5E2FD

Accessibility & contrast

On white

2.79
#CD76F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CD76F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76F6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76F6#FFFFFF#000000##000000
##CD76F61.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#CA8BAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd76f6;
/* rgb */ color: rgb(205, 118, 246);
/* oklch */ color: oklch(71.1% 0.196 313.8);
Tailwind
colors: {
  custom: {
    50: '#dfa0fa',
    500: '#cd76f6',
    950: '#000000',
  },
}
SCSS
$custom: #cd76f6;
$custom-light: #dfa0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76f6",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 246
  },
  "hsl": {
    "h": 280.781,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71115,
    "c": 0.19621,
    "h": 313.8
  },
  "luminance": 0.3259
}

Semantic roles & 50–950 ramp

primary
#CD76F6
secondary
#DEF5D3
accent
#E4014A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD76F6

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

Preview Lab → · Contrast checker → · Palette generator →

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