#CD9AEB#CD9AEB

#CD9AEB is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.3% C 0.125 H 312.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CD9AEB
RGBrgb(205, 154, 235)
HSLhsl(278, 67%, 76%)
HSVhsv(278, 34%, 92%)
CMYKcmyk(12.8%, 34.5%, 0%, 7.8%)
CIE-LABlab(70.93, 33.51, -33.53)
CIE-LCHlch(70.93, 47.40, 314.98°)
OKLaboklab(76.28% 0.0842 -0.0922)
OKLCHoklch(76.28% 0.125 312.4)
XYZxyz(51.7253, 42.0893, 83.9803)
Luminance0.4209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9AEB #B8EB9A
analogous
#A59AEB #CD9AEB #EB9AE1
triadic
#CD9AEB #EBCD9A #9AEBCD
tetradic
#CD9AEB #EBA59A #B8EB9A #9AE1EB
square
#CD9AEB #EBA59A #B8EB9A #9AE1EB
split-complementary
#CD9AEB #E1EB9A #9AEBA5
monochromatic
#9A34D7 #B467E1 #CD9AEB #E6CDF5 #F2E5FA

Accessibility & contrast

On white

2.23
#CD9AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#CD9AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9AEB
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9AEB#FFFFFF#000000##000000
##CD9AEB1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEE
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#CAA5B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9aeb;
/* rgb */ color: rgb(205, 154, 235);
/* oklch */ color: oklch(76.3% 0.125 312.4);
Tailwind
colors: {
  custom: {
    50: '#ddb8f1',
    500: '#cd9aeb',
    950: '#000000',
  },
}
SCSS
$custom: #cd9aeb;
$custom-light: #ddb8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9aeb",
  "rgb": {
    "r": 205,
    "g": 154,
    "b": 235
  },
  "hsl": {
    "h": 277.778,
    "s": 66.942,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76276,
    "c": 0.12487,
    "h": 312.4
  },
  "luminance": 0.42088
}

Semantic roles & 50–950 ramp

primary
#CD9AEB
secondary
#E2F1DA
accent
#CF175B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD9AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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