#CD9CF9#CD9CF9

#CD9CF9 is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.2% C 0.138 H 307.7°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CD9CF9
RGBrgb(205, 156, 249)
HSLhsl(272, 89%, 79%)
HSVhsv(272, 37%, 98%)
CMYKcmyk(17.7%, 37.3%, 0%, 2.4%)
CIE-LABlab(71.96, 35.40, -39.57)
CIE-LCHlch(71.96, 53.09, 311.81°)
OKLaboklab(77.24% 0.0845 -0.1095)
OKLCHoklch(77.24% 0.138 307.7)
XYZxyz(54.1609, 43.5961, 95.1658)
Luminance0.4360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CF9 #C8F99C
analogous
#9F9CF9 #CD9CF9 #F99CF6
triadic
#CD9CF9 #F9CD9C #9CF9CD
tetradic
#CD9CF9 #F99F9C #C8F99C #9CF6F9
square
#CD9CF9 #F99F9C #C8F99C #9CF6F9
split-complementary
#CD9CF9 #F6F99C #9CF99F
monochromatic
#9329F2 #B062F6 #CD9CF9 #EAD6FC #F0E2FD

Accessibility & contrast

On white

2.16
#CD9CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CD9CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CF9
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CF9#FFFFFF#000000##000000
##CD9CF91.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFD
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#C7AABF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9cf9;
/* rgb */ color: rgb(205, 156, 249);
/* oklch */ color: oklch(77.2% 0.138 307.7);
Tailwind
colors: {
  custom: {
    50: '#ddbafb',
    500: '#cd9cf9',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cf9;
$custom-light: #ddbafb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cf9",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 249
  },
  "hsl": {
    "h": 271.613,
    "s": 88.571,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77241,
    "c": 0.1383,
    "h": 307.7
  },
  "luminance": 0.43596
}

Semantic roles & 50–950 ramp

primary
#CD9CF9
secondary
#E5F5D6
accent
#E5006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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