#CD9EF5#CD9EF5

#CD9EF5 is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.4% C 0.130 H 308.4°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CD9EF5
RGBrgb(205, 158, 245)
HSLhsl(272, 81%, 79%)
HSVhsv(272, 36%, 96%)
CMYKcmyk(16.3%, 35.5%, 0%, 3.9%)
CIE-LABlab(72.25, 33.44, -36.95)
CIE-LCHlch(72.25, 49.84, 312.15°)
OKLaboklab(77.41% 0.0808 -0.102)
OKLCHoklch(77.41% 0.13 308.4)
XYZxyz(53.8820, 44.0260, 92.0278)
Luminance0.4402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EF5 #C6F59E
analogous
#A29EF5 #CD9EF5 #F59EF1
triadic
#CD9EF5 #F5CD9E #9EF5CD
tetradic
#CD9EF5 #F5A29E #C6F59E #9EF1F5
square
#CD9EF5 #F5A29E #C6F59E #9EF1F5
split-complementary
#CD9EF5 #F1F59E #9EF5A2
monochromatic
#942FEA #B067EF #CD9EF5 #EAD5FB #F1E3FC

Accessibility & contrast

On white

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

On black

9.80
#CD9EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EF5
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EF5#FFFFFF#000000##000000
##CD9EF51.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd9ef5;
/* rgb */ color: rgb(205, 158, 245);
/* oklch */ color: oklch(77.4% 0.130 308.4);
Tailwind
colors: {
  custom: {
    50: '#ddbbf8',
    500: '#cd9ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ef5;
$custom-light: #ddbbf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ef5",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 245
  },
  "hsl": {
    "h": 272.414,
    "s": 81.308,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77406,
    "c": 0.13011,
    "h": 308.4
  },
  "luminance": 0.44025
}

Semantic roles & 50–950 ramp

primary
#CD9EF5
secondary
#E4F4D7
accent
#DE086A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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