#CD76FA#CD76FA

#CD76FA is a light, highly saturated violet. Relative luminance 0.328; OKLCH L 71.3% C 0.200 H 312.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CD76FA
RGBrgb(205, 118, 250)
HSLhsl(280, 93%, 72%)
HSVhsv(280, 53%, 98%)
CMYKcmyk(18%, 52.8%, 0%, 2%)
CIE-LABlab(64.03, 55.71, -52.58)
CIE-LCHlch(64.03, 76.60, 316.65°)
OKLaboklab(71.33% 0.1362 -0.147)
OKLCHoklch(71.33% 0.2 312.8)
XYZxyz(48.9076, 32.8393, 94.1862)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD76FA #A3FA76
analogous
#8B76FA #CD76FA #FA76E5
triadic
#CD76FA #FACD76 #76FACD
tetradic
#CD76FA #FA8B76 #A3FA76 #76E5FA
square
#CD76FA #FA8B76 #A3FA76 #76E5FA
split-complementary
#CD76FA #E5FA76 #76FA8B
monochromatic
#9F09ED #B73BF8 #CD76FA #E3B1FC #F4E1FE

Accessibility & contrast

On white

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

On black

7.57
#CD76FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD76FA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD76FA#FFFFFF#000000##000000
##CD76FA1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#C98CAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd76fa;
/* rgb */ color: rgb(205, 118, 250);
/* oklch */ color: oklch(71.3% 0.200 312.8);
Tailwind
colors: {
  custom: {
    50: '#dfa0fc',
    500: '#cd76fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd76fa;
$custom-light: #dfa0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd76fa",
  "rgb": {
    "r": 205,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 279.545,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7133,
    "c": 0.20041,
    "h": 312.8
  },
  "luminance": 0.32838
}

Semantic roles & 50–950 ramp

primary
#CD76FA
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CD76FA

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

Preview Lab → · Contrast checker → · Palette generator →

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