#CD9FF5#CD9FF5

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

Color values

HEX#CD9FF5
RGBrgb(205, 159, 245)
HSLhsl(272, 81%, 79%)
HSVhsv(272, 35%, 96%)
CMYKcmyk(16.3%, 35.1%, 0%, 3.9%)
CIE-LABlab(72.47, 32.90, -36.59)
CIE-LCHlch(72.47, 49.21, 311.96°)
OKLaboklab(77.58% 0.0794 -0.101)
OKLCHoklch(77.58% 0.128 308.2)
XYZxyz(54.0533, 44.3685, 92.0849)
Luminance0.4437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FF5 #C7F59F
analogous
#A29FF5 #CD9FF5 #F59FF2
triadic
#CD9FF5 #F5CD9F #9FF5CD
tetradic
#CD9FF5 #F5A29F #C7F59F #9FF2F5
square
#CD9FF5 #F5A29F #C7F59F #9FF2F5
split-complementary
#CD9FF5 #F2F59F #9FF5A2
monochromatic
#9330E9 #B068EF #CD9FF5 #EAD6FB #F1E3FC

Accessibility & contrast

On white

2.13
#CD9FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CD9FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FF5
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FF5#FFFFFF#000000##000000
##CD9FF51.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB0F8
Deuteranopia (green-blind)
#98B2F3
Tritanopia (blue-blind)
#C8ABBF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9ff5;
/* rgb */ color: rgb(205, 159, 245);
/* oklch */ color: oklch(77.6% 0.128 308.2);
Tailwind
colors: {
  custom: {
    50: '#ddbcf8',
    500: '#cd9ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ff5;
$custom-light: #ddbcf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ff5",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 245
  },
  "hsl": {
    "h": 272.093,
    "s": 81.132,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77579,
    "c": 0.12844,
    "h": 308.2
  },
  "luminance": 0.44368
}

Semantic roles & 50–950 ramp

primary
#CD9FF5
secondary
#E4F4D7
accent
#DD086B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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