#CD9EF9#CD9EF9

#CD9EF9 is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.6% C 0.135 H 307.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CD9EF9
RGBrgb(205, 158, 249)
HSLhsl(271, 88%, 80%)
HSVhsv(271, 37%, 98%)
CMYKcmyk(17.7%, 36.5%, 0%, 2.4%)
CIE-LABlab(72.41, 34.31, -38.87)
CIE-LCHlch(72.41, 51.84, 311.44°)
OKLaboklab(77.59% 0.0817 -0.1075)
OKLCHoklch(77.59% 0.135 307.2)
XYZxyz(54.4993, 44.2729, 95.2786)
Luminance0.4427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EF9 #CAF99E
analogous
#A09EF9 #CD9EF9 #F99EF8
triadic
#CD9EF9 #F9CD9E #9EF9CD
tetradic
#CD9EF9 #F9A09E #CAF99E #9EF8F9
square
#CD9EF9 #F9A09E #CAF99E #9EF8F9
split-complementary
#CD9EF9 #F8F99E #9EF9A0
monochromatic
#922BF2 #AF64F5 #CD9EF9 #EBD8FD #F0E2FD

Accessibility & contrast

On white

2.13
#CD9EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#CD9EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EF9
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EF9#FFFFFF#000000##000000
##CD9EF91.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FC
Deuteranopia (green-blind)
#95B2F6
Tritanopia (blue-blind)
#C7ACC0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9ef9;
/* rgb */ color: rgb(205, 158, 249);
/* oklch */ color: oklch(77.6% 0.135 307.2);
Tailwind
colors: {
  custom: {
    50: '#ddbbfb',
    500: '#cd9ef9',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ef9;
$custom-light: #ddbbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ef9",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 249
  },
  "hsl": {
    "h": 270.989,
    "s": 88.35,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77585,
    "c": 0.13499,
    "h": 307.2
  },
  "luminance": 0.44272
}

Semantic roles & 50–950 ramp

primary
#CD9EF9
secondary
#E5F5D6
accent
#E5016F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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