#CD9EFF#CD9EFF

#CD9EFF is a light, vivid violet. Relative luminance 0.447; OKLCH L 77.9% C 0.142 H 305.6°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CD9EFF
RGBrgb(205, 158, 255)
HSLhsl(269, 100%, 81%)
HSVhsv(269, 38%, 100%)
CMYKcmyk(19.6%, 38%, 0%, 0%)
CIE-LABlab(72.66, 35.62, -41.72)
CIE-LCHlch(72.66, 54.86, 310.49°)
OKLaboklab(77.86% 0.0829 -0.1157)
OKLCHoklch(77.86% 0.142 305.6)
XYZxyz(55.4501, 44.6532, 100.2861)
Luminance0.4465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EFF #D0FF9E
analogous
#9E9FFF #CD9EFF #FD9EFF
triadic
#CD9EFF #FFCD9E #9EFFCD
tetradic
#CD9EFF #FF9E9F #D0FF9E #9EFFFD
square
#CD9EFF #FF9E9F #D0FF9E #9EFFFD
split-complementary
#CD9EFF #FFFD9E #9FFF9E
monochromatic
#8E24FF #AD61FF #CD9EFF #EDDBFF #EFE0FF

Accessibility & contrast

On white

2.11
#CD9EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CD9EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EFF
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EFF#FFFFFF#000000##000000
##CD9EFF1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B1FF
Deuteranopia (green-blind)
#93B3FC
Tritanopia (blue-blind)
#C5ADC3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9eff;
/* rgb */ color: rgb(205, 158, 255);
/* oklch */ color: oklch(77.9% 0.142 305.6);
Tailwind
colors: {
  custom: {
    50: '#ddbbff',
    500: '#cd9eff',
    950: '#000000',
  },
}
SCSS
$custom: #cd9eff;
$custom-light: #ddbbff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9eff",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 269.072,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77859,
    "c": 0.14235,
    "h": 305.6
  },
  "luminance": 0.44653
}

Semantic roles & 50–950 ramp

primary
#CD9EFF
secondary
#E6F7D4
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CD9EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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