#CD9AFF#CD9AFF

#CD9AFF is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.2% C 0.149 H 306.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CD9AFF
RGBrgb(205, 154, 255)
HSLhsl(270, 100%, 80%)
HSVhsv(270, 40%, 100%)
CMYKcmyk(19.6%, 39.6%, 0%, 0%)
CIE-LABlab(71.77, 37.80, -43.13)
CIE-LCHlch(71.77, 57.35, 311.23°)
OKLaboklab(77.18% 0.0885 -0.1197)
OKLCHoklch(77.18% 0.149 306.5)
XYZxyz(54.7789, 43.3107, 100.0623)
Luminance0.4331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9AFF #CCFF9A
analogous
#9A9AFF #CD9AFF #FF9AFF
triadic
#CD9AFF #FFCD9A #9AFFCD
tetradic
#CD9AFF #FF9A9A #CCFF9A #9AFFFF
square
#CD9AFF #FF9A9A #CCFF9A #9AFFFF
split-complementary
#CD9AFF #FFFF9A #9AFF9A
monochromatic
#9020FF #AF5DFF #CD9AFF #EBD7FF #F0E0FF

Accessibility & contrast

On white

2.17
#CD9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CD9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9AFF
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9AFF#FFFFFF#000000##000000
##CD9AFF1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#8FB0FC
Tritanopia (blue-blind)
#C6AAC1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9aff;
/* rgb */ color: rgb(205, 154, 255);
/* oklch */ color: oklch(77.2% 0.149 306.5);
Tailwind
colors: {
  custom: {
    50: '#deb8ff',
    500: '#cd9aff',
    950: '#000000',
  },
}
SCSS
$custom: #cd9aff;
$custom-light: #deb8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9aff",
  "rgb": {
    "r": 205,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 270.297,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.7718,
    "c": 0.14886,
    "h": 306.5
  },
  "luminance": 0.4331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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