#CD76F8#CD76F8

#CD76F8 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.198 H 313.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CD76F8
RGBrgb(205, 118, 248)
HSLhsl(280, 90%, 72%)
HSVhsv(280, 52%, 97%)
CMYKcmyk(17.3%, 52.4%, 0%, 2.7%)
CIE-LABlab(63.93, 55.29, -51.64)
CIE-LCHlch(63.93, 75.66, 316.96°)
OKLaboklab(71.22% 0.1361 -0.1442)
OKLCHoklch(71.22% 0.198 313.3)
XYZxyz(48.5957, 32.7146, 92.5433)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76F8 #A1F876
analogous
#8C76F8 #CD76F8 #F876E2
triadic
#CD76F8 #F8CD76 #76F8CD
tetradic
#CD76F8 #F88C76 #A1F876 #76E2F8
square
#CD76F8 #F88C76 #A1F876 #76E2F8
split-complementary
#CD76F8 #E2F876 #76F88C
monochromatic
#9F0CE8 #B83CF5 #CD76F8 #E2B0FB #F4E2FE

Accessibility & contrast

On white

2.78
#CD76F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#CD76F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76F8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76F8#FFFFFF#000000##000000
##CD76F81.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#C98BAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd76f8;
/* rgb */ color: rgb(205, 118, 248);
/* oklch */ color: oklch(71.2% 0.198 313.3);
Tailwind
colors: {
  custom: {
    50: '#dfa0fb',
    500: '#cd76f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd76f8;
$custom-light: #dfa0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76f8",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 280.154,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71222,
    "c": 0.19831,
    "h": 313.3
  },
  "luminance": 0.32713
}

Semantic roles & 50–950 ramp

primary
#CD76F8
secondary
#DFF5D4
accent
#E6004C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD76F8

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

Preview Lab → · Contrast checker → · Palette generator →

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