#CD76F2#CD76F2

#CD76F2 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.9% C 0.192 H 314.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CD76F2
RGBrgb(205, 118, 242)
HSLhsl(282, 83%, 71%)
HSVhsv(282, 51%, 95%)
CMYKcmyk(15.3%, 51.2%, 0%, 5.1%)
CIE-LABlab(63.63, 54.05, -48.81)
CIE-LCHlch(63.63, 72.83, 317.92°)
OKLaboklab(70.9% 0.1356 -0.136)
OKLCHoklch(70.9% 0.192 314.9)
XYZxyz(47.6797, 32.3482, 87.7194)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76F2 #9BF276
analogous
#8F76F2 #CD76F2 #F276D9
triadic
#CD76F2 #F2CD76 #76F2CD
tetradic
#CD76F2 #F28F76 #9BF276 #76D9F2
square
#CD76F2 #F28F76 #9BF276 #76D9F2
split-complementary
#CD76F2 #D9F276 #76F28F
monochromatic
#9E15D9 #B93EED #CD76F2 #E1AEF7 #F5E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD76F2#FFFFFF#000000##000000
##CD76F21.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)
#5A95F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#CA89A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd76f2;
/* rgb */ color: rgb(205, 118, 242);
/* oklch */ color: oklch(70.9% 0.192 314.9);
Tailwind
colors: {
  custom: {
    50: '#dfa0f7',
    500: '#cd76f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd76f2;
$custom-light: #dfa0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76f2",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 282.097,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70904,
    "c": 0.19202,
    "h": 314.9
  },
  "luminance": 0.32347
}

Semantic roles & 50–950 ramp

primary
#CD76F2
secondary
#DBF3D1
accent
#DF0647
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD76F2

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

Preview Lab → · Contrast checker → · Palette generator →

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