#CD9EF6#CD9EF6

#CD9EF6 is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.5% C 0.131 H 308.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CD9EF6
RGBrgb(205, 158, 246)
HSLhsl(272, 83%, 79%)
HSVhsv(272, 36%, 96%)
CMYKcmyk(16.7%, 35.8%, 0%, 3.5%)
CIE-LABlab(72.29, 33.66, -37.43)
CIE-LCHlch(72.29, 50.34, 311.96°)
OKLaboklab(77.45% 0.081 -0.1034)
OKLCHoklch(77.45% 0.131 308.1)
XYZxyz(54.0351, 44.0872, 92.8340)
Luminance0.4409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EF6 #C7F69E
analogous
#A19EF6 #CD9EF6 #F69EF3
triadic
#CD9EF6 #F6CD9E #9EF6CD
tetradic
#CD9EF6 #F6A19E #C7F69E #9EF3F6
square
#CD9EF6 #F6A19E #C7F69E #9EF3F6
split-complementary
#CD9EF6 #F3F69E #9EF6A1
monochromatic
#932EEC #B066F1 #CD9EF6 #EAD6FB #F1E3FC

Accessibility & contrast

On white

2.14
#CD9EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#CD9EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EF6
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EF6#FFFFFF#000000##000000
##CD9EF61.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAFF9
Deuteranopia (green-blind)
#97B2F3
Tritanopia (blue-blind)
#C8ABBF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9ef6;
/* rgb */ color: rgb(205, 158, 246);
/* oklch */ color: oklch(77.5% 0.131 308.1);
Tailwind
colors: {
  custom: {
    50: '#ddbbf9',
    500: '#cd9ef6',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ef6;
$custom-light: #ddbbf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ef6",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 246
  },
  "hsl": {
    "h": 272.045,
    "s": 83.019,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7745,
    "c": 0.13132,
    "h": 308.1
  },
  "luminance": 0.44087
}

Semantic roles & 50–950 ramp

primary
#CD9EF6
secondary
#E4F4D7
accent
#DF066B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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