#CD9EF7#CD9EF7

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

Color values

HEX#CD9EF7
RGBrgb(205, 158, 247)
HSLhsl(272, 85%, 79%)
HSVhsv(272, 36%, 97%)
CMYKcmyk(17%, 36%, 0%, 3.1%)
CIE-LABlab(72.33, 33.88, -37.91)
CIE-LCHlch(72.33, 50.84, 311.78°)
OKLaboklab(77.5% 0.0812 -0.1047)
OKLCHoklch(77.5% 0.133 307.8)
XYZxyz(54.1890, 44.1487, 93.6445)
Luminance0.4415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EF7 #C8F79E
analogous
#A19EF7 #CD9EF7 #F79EF5
triadic
#CD9EF7 #F7CD9E #9EF7CD
tetradic
#CD9EF7 #F7A19E #C8F79E #9EF5F7
square
#CD9EF7 #F7A19E #C8F79E #9EF5F7
split-complementary
#CD9EF7 #F5F79E #9EF7A1
monochromatic
#932DEE #B065F2 #CD9EF7 #EAD7FC #F0E3FD

Accessibility & contrast

On white

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

On black

9.83
#CD9EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EF7
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EF7#FFFFFF#000000##000000
##CD9EF71.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAFFA
Deuteranopia (green-blind)
#96B2F4
Tritanopia (blue-blind)
#C7ABBF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9ef7;
/* rgb */ color: rgb(205, 158, 247);
/* oklch */ color: oklch(77.5% 0.133 307.8);
Tailwind
colors: {
  custom: {
    50: '#ddbbfa',
    500: '#cd9ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ef7;
$custom-light: #ddbbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ef7",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 271.685,
    "s": 84.762,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77495,
    "c": 0.13255,
    "h": 307.8
  },
  "luminance": 0.44148
}

Semantic roles & 50–950 ramp

primary
#CD9EF7
secondary
#E5F5D6
accent
#E1046D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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