#CD9EF3#CD9EF3

#CD9EF3 is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.3% C 0.128 H 309.0°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CD9EF3
RGBrgb(205, 158, 243)
HSLhsl(273, 78%, 79%)
HSVhsv(273, 35%, 95%)
CMYKcmyk(15.6%, 35%, 0%, 4.7%)
CIE-LABlab(72.16, 33.02, -35.99)
CIE-LCHlch(72.16, 48.84, 312.53°)
OKLaboklab(77.32% 0.0803 -0.0992)
OKLCHoklch(77.32% 0.128 309)
XYZxyz(53.5784, 43.9045, 90.4285)
Luminance0.4390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EF3 #C4F39E
analogous
#A29EF3 #CD9EF3 #F39EEF
triadic
#CD9EF3 #F3CD9E #9EF3CD
tetradic
#CD9EF3 #F3A29E #C4F39E #9EEFF3
square
#CD9EF3 #F3A29E #C4F39E #9EEFF3
split-complementary
#CD9EF3 #EFF39E #9EF3A2
monochromatic
#9531E6 #B168EC #CD9EF3 #E9D4FA #F1E4FC

Accessibility & contrast

On white

2.15
#CD9EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CD9EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EF3
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EF3#FFFFFF#000000##000000
##CD9EF31.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF6
Deuteranopia (green-blind)
#98B2F1
Tritanopia (blue-blind)
#C8AABD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9ef3;
/* rgb */ color: rgb(205, 158, 243);
/* oklch */ color: oklch(77.3% 0.128 309.0);
Tailwind
colors: {
  custom: {
    50: '#ddbbf7',
    500: '#cd9ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ef3;
$custom-light: #ddbbf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ef3",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 243
  },
  "hsl": {
    "h": 273.176,
    "s": 77.982,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77317,
    "c": 0.12768,
    "h": 309
  },
  "luminance": 0.43904
}

Semantic roles & 50–950 ramp

primary
#CD9EF3
secondary
#E4F3D8
accent
#DA0B68
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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