#CD76FC#CD76FC

#CD76FC is a light, highly saturated violet. Relative luminance 0.330; OKLCH L 71.4% C 0.203 H 312.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CD76FC
RGBrgb(205, 118, 252)
HSLhsl(279, 96%, 73%)
HSVhsv(279, 53%, 99%)
CMYKcmyk(18.7%, 53.2%, 0%, 1.2%)
CIE-LABlab(64.13, 56.13, -53.52)
CIE-LCHlch(64.13, 77.55, 316.36°)
OKLaboklab(71.44% 0.1364 -0.1497)
OKLCHoklch(71.44% 0.203 312.3)
XYZxyz(49.2229, 32.9654, 95.8466)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76FC #A5FC76
analogous
#8A76FC #CD76FC #FC76E8
triadic
#CD76FC #FCCD76 #76FCCD
tetradic
#CD76FC #FC8A76 #A5FC76 #76E8FC
square
#CD76FC #FC8A76 #A5FC76 #76E8FC
split-complementary
#CD76FC #E8FC76 #76FC8A
monochromatic
#9F05F2 #B73AFB #CD76FC #E3B2FD #F4E1FE

Accessibility & contrast

On white

2.77
#CD76FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CD76FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76FC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76FC#FFFFFF#000000##000000
##CD76FC1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6F9DF9
Tritanopia (blue-blind)
#C88DAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd76fc;
/* rgb */ color: rgb(205, 118, 252);
/* oklch */ color: oklch(71.4% 0.203 312.3);
Tailwind
colors: {
  custom: {
    50: '#dfa0fe',
    500: '#cd76fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd76fc;
$custom-light: #dfa0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76fc",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 278.955,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71439,
    "c": 0.20252,
    "h": 312.3
  },
  "luminance": 0.32964
}

Semantic roles & 50–950 ramp

primary
#CD76FC
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CD76FC

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

Preview Lab → · Contrast checker → · Palette generator →

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