#CD9AEF#CD9AEF

#CD9AEF is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.4% C 0.130 H 311.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CD9AEF
RGBrgb(205, 154, 239)
HSLhsl(276, 73%, 77%)
HSVhsv(276, 36%, 94%)
CMYKcmyk(14.2%, 35.6%, 0%, 6.3%)
CIE-LABlab(71.09, 34.35, -35.47)
CIE-LCHlch(71.09, 49.37, 314.08°)
OKLaboklab(76.45% 0.0851 -0.0977)
OKLCHoklch(76.45% 0.13 311.1)
XYZxyz(52.3097, 42.3231, 87.0581)
Luminance0.4232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9AEF #BCEF9A
analogous
#A39AEF #CD9AEF #EF9AE7
triadic
#CD9AEF #EFCD9A #9AEFCD
tetradic
#CD9AEF #EFA39A #BCEF9A #9AE7EF
square
#CD9AEF #EFA39A #BCEF9A #9AE7EF
split-complementary
#CD9AEF #E7EF9A #9AEFA3
monochromatic
#9930DE #B365E7 #CD9AEF #E7CFF7 #F2E5FB

Accessibility & contrast

On white

2.22
#CD9AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#CD9AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9AEF
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9AEF#FFFFFF#000000##000000
##CD9AEF1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF2
Deuteranopia (green-blind)
#96AFED
Tritanopia (blue-blind)
#CAA6BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9aef;
/* rgb */ color: rgb(205, 154, 239);
/* oklch */ color: oklch(76.4% 0.130 311.1);
Tailwind
colors: {
  custom: {
    50: '#ddb8f4',
    500: '#cd9aef',
    950: '#000000',
  },
}
SCSS
$custom: #cd9aef;
$custom-light: #ddb8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9aef",
  "rgb": {
    "r": 205,
    "g": 154,
    "b": 239
  },
  "hsl": {
    "h": 276,
    "s": 72.65,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7645,
    "c": 0.12961,
    "h": 311.1
  },
  "luminance": 0.42322
}

Semantic roles & 50–950 ramp

primary
#CD9AEF
secondary
#E3F2D9
accent
#D5115F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD9AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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