#CD76F5#CD76F5

#CD76F5 is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.1% C 0.195 H 314.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CD76F5
RGBrgb(205, 118, 245)
HSLhsl(281, 86%, 71%)
HSVhsv(281, 52%, 96%)
CMYKcmyk(16.3%, 51.8%, 0%, 3.9%)
CIE-LABlab(63.78, 54.67, -50.23)
CIE-LCHlch(63.78, 74.24, 317.43°)
OKLaboklab(71.06% 0.1358 -0.1401)
OKLCHoklch(71.06% 0.195 314.1)
XYZxyz(48.1340, 32.5299, 90.1118)
Luminance0.3253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76F5 #9EF576
analogous
#8D76F5 #CD76F5 #F576DE
triadic
#CD76F5 #F5CD76 #76F5CD
tetradic
#CD76F5 #F58D76 #9EF576 #76DEF5
square
#CD76F5 #F58D76 #9EF576 #76DEF5
split-complementary
#CD76F5 #DEF576 #76F58D
monochromatic
#9F10E0 #B83DF1 #CD76F5 #E2AFF9 #F5E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD76F5#FFFFFF#000000##000000
##CD76F51.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)
#5896F9
Deuteranopia (green-blind)
#739DF2
Tritanopia (blue-blind)
#CA8AAB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd76f5;
/* rgb */ color: rgb(205, 118, 245);
/* oklch */ color: oklch(71.1% 0.195 314.1);
Tailwind
colors: {
  custom: {
    50: '#dfa0f9',
    500: '#cd76f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd76f5;
$custom-light: #dfa0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76f5",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 281.102,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71062,
    "c": 0.19516,
    "h": 314.1
  },
  "luminance": 0.32529
}

Semantic roles & 50–950 ramp

primary
#CD76F5
secondary
#DDF4D3
accent
#E30349
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD76F5

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

Preview Lab → · Contrast checker → · Palette generator →

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