#CD9EF4#CD9EF4

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

Color values

HEX#CD9EF4
RGBrgb(205, 158, 244)
HSLhsl(273, 80%, 79%)
HSVhsv(273, 35%, 96%)
CMYKcmyk(16%, 35.2%, 0%, 4.3%)
CIE-LABlab(72.21, 33.23, -36.47)
CIE-LCHlch(72.21, 49.34, 312.34°)
OKLaboklab(77.36% 0.0806 -0.1006)
OKLCHoklch(77.36% 0.129 308.7)
XYZxyz(53.7298, 43.9651, 91.2260)
Luminance0.4396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EF4 #C5F49E
analogous
#A29EF4 #CD9EF4 #F49EF0
triadic
#CD9EF4 #F4CD9E #9EF4CD
tetradic
#CD9EF4 #F4A29E #C5F49E #9EF0F4
square
#CD9EF4 #F4A29E #C5F49E #9EF0F4
split-complementary
#CD9EF4 #F0F49E #9EF4A2
monochromatic
#9430E8 #B167EE #CD9EF4 #E9D5FA #F1E4FC

Accessibility & contrast

On white

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

On black

9.79
#CD9EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EF4
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EF4#FFFFFF#000000##000000
##CD9EF41.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAFF7
Deuteranopia (green-blind)
#98B2F2
Tritanopia (blue-blind)
#C8AABE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9ef4;
/* rgb */ color: rgb(205, 158, 244);
/* oklch */ color: oklch(77.4% 0.129 308.7);
Tailwind
colors: {
  custom: {
    50: '#ddbbf8',
    500: '#cd9ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ef4;
$custom-light: #ddbbf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ef4",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 244
  },
  "hsl": {
    "h": 272.791,
    "s": 79.63,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77361,
    "c": 0.12889,
    "h": 308.7
  },
  "luminance": 0.43965
}

Semantic roles & 50–950 ramp

primary
#CD9EF4
secondary
#E4F4D7
accent
#DC0A69
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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