#CD76FE#CD76FE

#CD76FE is a light, highly saturated violet. Relative luminance 0.331; OKLCH L 71.5% C 0.205 H 311.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CD76FE
RGBrgb(205, 118, 254)
HSLhsl(278, 99%, 73%)
HSVhsv(278, 54%, 100%)
CMYKcmyk(19.3%, 53.5%, 0%, 0.4%)
CIE-LABlab(64.24, 56.54, -54.45)
CIE-LCHlch(64.24, 78.50, 316.08°)
OKLaboklab(71.55% 0.1365 -0.1524)
OKLCHoklch(71.55% 0.205 311.8)
XYZxyz(49.5415, 33.0929, 97.5245)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76FE #A7FE76
analogous
#8976FE #CD76FE #FE76EB
triadic
#CD76FE #FECD76 #76FECD
tetradic
#CD76FE #FE8976 #A7FE76 #76EBFE
square
#CD76FE #FE8976 #A7FE76 #76EBFE
split-complementary
#CD76FE #EBFE76 #76FE89
monochromatic
#9F02F8 #B739FE #CD76FE #E3B3FE #F4E1FF

Accessibility & contrast

On white

2.76
#CD76FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CD76FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76FE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76FE#FFFFFF#000000##000000
##CD76FE1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6D9EFB
Tritanopia (blue-blind)
#C88DAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd76fe;
/* rgb */ color: rgb(205, 118, 254);
/* oklch */ color: oklch(71.5% 0.205 311.8);
Tailwind
colors: {
  custom: {
    50: '#dfa0ff',
    500: '#cd76fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd76fe;
$custom-light: #dfa0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76fe",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 278.382,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71548,
    "c": 0.20463,
    "h": 311.8
  },
  "luminance": 0.33092
}

Semantic roles & 50–950 ramp

primary
#CD76FE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CD76FE

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

Preview Lab → · Contrast checker → · Palette generator →

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