#CD9AFA#CD9AFA

#CD9AFA is a light, vivid violet. Relative luminance 0.430; OKLCH L 76.9% C 0.143 H 307.8°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CD9AFA
RGBrgb(205, 154, 250)
HSLhsl(272, 91%, 79%)
HSVhsv(272, 38%, 98%)
CMYKcmyk(18%, 38.4%, 0%, 2%)
CIE-LABlab(71.55, 36.70, -40.75)
CIE-LCHlch(71.55, 54.84, 312.01°)
OKLaboklab(76.95% 0.0875 -0.1129)
OKLCHoklch(76.95% 0.143 307.8)
XYZxyz(53.9845, 42.9930, 95.8785)
Luminance0.4299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9AFA #C7FA9A
analogous
#9D9AFA #CD9AFA #FA9AF7
triadic
#CD9AFA #FACD9A #9AFACD
tetradic
#CD9AFA #FA9D9A #C7FA9A #9AF7FA
square
#CD9AFA #FA9D9A #C7FA9A #9AF7FA
split-complementary
#CD9AFA #F7FA9A #9AFA9D
monochromatic
#9325F4 #B060F7 #CD9AFA #EAD4FD #F1E2FE

Accessibility & contrast

On white

2.19
#CD9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#CD9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9AFA
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9AFA#FFFFFF#000000##000000
##CD9AFA1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#91B0F7
Tritanopia (blue-blind)
#C7A8BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9afa;
/* rgb */ color: rgb(205, 154, 250);
/* oklch */ color: oklch(76.9% 0.143 307.8);
Tailwind
colors: {
  custom: {
    50: '#ddb8fc',
    500: '#cd9afa',
    950: '#000000',
  },
}
SCSS
$custom: #cd9afa;
$custom-light: #ddb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9afa",
  "rgb": {
    "r": 205,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 271.875,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76947,
    "c": 0.14281,
    "h": 307.8
  },
  "luminance": 0.42992
}

Semantic roles & 50–950 ramp

primary
#CD9AFA
secondary
#E4F6D5
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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