#CD9CFD#CD9CFD

#CD9CFD is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.4% C 0.143 H 306.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CD9CFD
RGBrgb(205, 156, 253)
HSLhsl(270, 96%, 80%)
HSVhsv(270, 38%, 99%)
CMYKcmyk(19%, 38.3%, 0%, 0.8%)
CIE-LABlab(72.13, 36.27, -41.48)
CIE-LCHlch(72.13, 55.10, 311.17°)
OKLaboklab(77.43% 0.0853 -0.115)
OKLCHoklch(77.43% 0.143 306.6)
XYZxyz(54.7914, 43.8483, 98.4866)
Luminance0.4385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CFD #CCFD9C
analogous
#9C9CFD #CD9CFD #FD9CFD
triadic
#CD9CFD #FDCD9C #9CFDCD
tetradic
#CD9CFD #FD9C9C #CCFD9C #9CFDFD
square
#CD9CFD #FD9C9C #CCFD9C #9CFDFD
split-complementary
#CD9CFD #FDFD9C #9CFD9C
monochromatic
#9024FB #AF60FC #CD9CFD #EBD8FE #F0E1FE

Accessibility & contrast

On white

2.15
#CD9CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#CD9CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CFD
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CFD#FFFFFF#000000##000000
##CD9CFD1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#C6ABC1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9cfd;
/* rgb */ color: rgb(205, 156, 253);
/* oklch */ color: oklch(77.4% 0.143 306.6);
Tailwind
colors: {
  custom: {
    50: '#ddbafe',
    500: '#cd9cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cfd;
$custom-light: #ddbafe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cfd",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 253
  },
  "hsl": {
    "h": 270.309,
    "s": 96.04,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77425,
    "c": 0.14316,
    "h": 306.6
  },
  "luminance": 0.43848
}

Semantic roles & 50–950 ramp

primary
#CD9CFD
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD9CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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