#CD8AF9#CD8AF9

#CD8AF9 is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.3% C 0.168 H 310.7°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#CD8AF9
RGBrgb(205, 138, 249)
HSLhsl(276, 90%, 76%)
HSVhsv(276, 45%, 98%)
CMYKcmyk(17.7%, 44.6%, 0%, 2.4%)
CIE-LABlab(68.02, 45.11, -45.74)
CIE-LCHlch(68.02, 64.24, 314.61°)
OKLaboklab(74.28% 0.1095 -0.1272)
OKLCHoklch(74.28% 0.168 310.7)
XYZxyz(51.3611, 37.9965, 94.2325)
Luminance0.3800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AF9 #B6F98A
analogous
#958AF9 #CD8AF9 #F98AEE
triadic
#CD8AF9 #F9CD8A #8AF9CD
tetradic
#CD8AF9 #F9958A #B6F98A #8AEEF9
square
#CD8AF9 #F9958A #B6F98A #8AEEF9
split-complementary
#CD8AF9 #EEF98A #8AF995
monochromatic
#9B16F3 #B450F6 #CD8AF9 #E6C4FC #F3E2FE

Accessibility & contrast

On white

2.44
#CD8AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#CD8AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AF9
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AF9#FFFFFF#000000##000000
##CD8AF91.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FD
Deuteranopia (green-blind)
#83A7F6
Tritanopia (blue-blind)
#C89BB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8af9;
/* rgb */ color: rgb(205, 138, 249);
/* oklch */ color: oklch(74.3% 0.168 310.7);
Tailwind
colors: {
  custom: {
    50: '#deadfb',
    500: '#cd8af9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8af9;
$custom-light: #deadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8af9",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 276.216,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74275,
    "c": 0.16782,
    "h": 310.7
  },
  "luminance": 0.37996
}

Semantic roles & 50–950 ramp

primary
#CD8AF9
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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