#CD9DF6#CD9DF6

#CD9DF6 is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.3% C 0.133 H 308.3°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#CD9DF6
RGBrgb(205, 157, 246)
HSLhsl(272, 83%, 79%)
HSVhsv(272, 36%, 96%)
CMYKcmyk(16.7%, 36.2%, 0%, 3.5%)
CIE-LABlab(72.06, 34.20, -37.78)
CIE-LCHlch(72.06, 50.97, 312.16°)
OKLaboklab(77.28% 0.0824 -0.1044)
OKLCHoklch(77.28% 0.133 308.3)
XYZxyz(53.8652, 43.7474, 92.7773)
Luminance0.4375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DF6 #C6F69D
analogous
#A19DF6 #CD9DF6 #F69DF2
triadic
#CD9DF6 #F6CD9D #9DF6CD
tetradic
#CD9DF6 #F6A19D #C6F69D #9DF2F6
square
#CD9DF6 #F6A19D #C6F69D #9DF2F6
split-complementary
#CD9DF6 #F2F69D #9DF6A1
monochromatic
#942DEC #B065F1 #CD9DF6 #EAD5FB #F1E3FC

Accessibility & contrast

On white

2.15
#CD9DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#CD9DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DF6
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DF6#FFFFFF#000000##000000
##CD9DF61.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAFF9
Deuteranopia (green-blind)
#96B1F3
Tritanopia (blue-blind)
#C8AABE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9df6;
/* rgb */ color: rgb(205, 157, 246);
/* oklch */ color: oklch(77.3% 0.133 308.3);
Tailwind
colors: {
  custom: {
    50: '#ddbaf9',
    500: '#cd9df6',
    950: '#000000',
  },
}
SCSS
$custom: #cd9df6;
$custom-light: #ddbaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9df6",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 246
  },
  "hsl": {
    "h": 272.36,
    "s": 83.178,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77278,
    "c": 0.133,
    "h": 308.3
  },
  "luminance": 0.43747
}

Semantic roles & 50–950 ramp

primary
#CD9DF6
secondary
#E4F4D7
accent
#E0066A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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