#CD9FF9#CD9FF9

#CD9FF9 is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.8% C 0.133 H 307.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#CD9FF9
RGBrgb(205, 159, 249)
HSLhsl(271, 88%, 80%)
HSVhsv(271, 36%, 98%)
CMYKcmyk(17.7%, 36.1%, 0%, 2.4%)
CIE-LABlab(72.64, 33.76, -38.51)
CIE-LCHlch(72.64, 51.22, 311.24°)
OKLaboklab(77.76% 0.0803 -0.1065)
OKLCHoklch(77.76% 0.133 307)
XYZxyz(54.6706, 44.6154, 95.3357)
Luminance0.4461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FF9 #CBF99F
analogous
#A09FF9 #CD9FF9 #F99FF8
triadic
#CD9FF9 #F9CD9F #9FF9CD
tetradic
#CD9FF9 #F9A09F #CBF99F #9FF8F9
square
#CD9FF9 #F9A09F #CBF99F #9FF8F9
split-complementary
#CD9FF9 #F8F99F #9FF9A0
monochromatic
#912CF2 #AF65F5 #CD9FF9 #EBD9FD #F0E2FD

Accessibility & contrast

On white

2.12
#CD9FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#CD9FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FF9
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FF9#FFFFFF#000000##000000
##CD9FF91.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB0FC
Deuteranopia (green-blind)
#96B3F6
Tritanopia (blue-blind)
#C7ACC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9ff9;
/* rgb */ color: rgb(205, 159, 249);
/* oklch */ color: oklch(77.8% 0.133 307.0);
Tailwind
colors: {
  custom: {
    50: '#ddbcfb',
    500: '#cd9ff9',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ff9;
$custom-light: #ddbcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ff9",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 249
  },
  "hsl": {
    "h": 270.667,
    "s": 88.235,
    "l": 80
  },
  "oklch": {
    "l": 0.77757,
    "c": 0.13334,
    "h": 307
  },
  "luminance": 0.44615
}

Semantic roles & 50–950 ramp

primary
#CD9FF9
secondary
#E5F5D6
accent
#E50170
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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