#CD9FF6#CD9FF6

#CD9FF6 is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.6% C 0.130 H 307.9°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CD9FF6
RGBrgb(205, 159, 246)
HSLhsl(272, 83%, 79%)
HSVhsv(272, 35%, 96%)
CMYKcmyk(16.7%, 35.4%, 0%, 3.5%)
CIE-LABlab(72.51, 33.11, -37.07)
CIE-LCHlch(72.51, 49.71, 311.77°)
OKLaboklab(77.62% 0.0796 -0.1023)
OKLCHoklch(77.62% 0.13 307.9)
XYZxyz(54.2064, 44.4297, 92.8911)
Luminance0.4443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FF6 #C8F69F
analogous
#A29FF6 #CD9FF6 #F69FF4
triadic
#CD9FF6 #F6CD9F #9FF6CD
tetradic
#CD9FF6 #F6A29F #C8F69F #9FF4F6
square
#CD9FF6 #F6A29F #C8F69F #9FF4F6
split-complementary
#CD9FF6 #F4F69F #9FF6A2
monochromatic
#932FEC #B067F1 #CD9FF6 #EAD7FB #F0E3FC

Accessibility & contrast

On white

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

On black

9.89
#CD9FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FF6
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FF6#FFFFFF#000000##000000
##CD9FF61.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB0F9
Deuteranopia (green-blind)
#98B2F4
Tritanopia (blue-blind)
#C8ACBF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9ff6;
/* rgb */ color: rgb(205, 159, 246);
/* oklch */ color: oklch(77.6% 0.130 307.9);
Tailwind
colors: {
  custom: {
    50: '#ddbcf9',
    500: '#cd9ff6',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ff6;
$custom-light: #ddbcf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ff6",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 246
  },
  "hsl": {
    "h": 271.724,
    "s": 82.857,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77623,
    "c": 0.12966,
    "h": 307.9
  },
  "luminance": 0.44429
}

Semantic roles & 50–950 ramp

primary
#CD9FF6
secondary
#E5F4D7
accent
#DF066D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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