#CD9EF0#CD9EF0

#CD9EF0 is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.2% C 0.124 H 309.9°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#CD9EF0
RGBrgb(205, 158, 240)
HSLhsl(274, 73%, 78%)
HSVhsv(274, 34%, 94%)
CMYKcmyk(14.6%, 34.2%, 0%, 5.9%)
CIE-LABlab(72.04, 32.38, -34.54)
CIE-LCHlch(72.04, 47.34, 313.15°)
OKLaboklab(77.19% 0.0796 -0.0951)
OKLCHoklch(77.19% 0.124 309.9)
XYZxyz(53.1291, 43.7248, 88.0620)
Luminance0.4372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EF0 #C1F09E
analogous
#A49EF0 #CD9EF0 #F09EEA
triadic
#CD9EF0 #F0CD9E #9EF0CD
tetradic
#CD9EF0 #F0A49E #C1F09E #9EEAF0
square
#CD9EF0 #F0A49E #C1F09E #9EEAF0
split-complementary
#CD9EF0 #EAF09E #9EF0A4
monochromatic
#9634E0 #B269E8 #CD9EF0 #E8D3F8 #F1E4FB

Accessibility & contrast

On white

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

On black

9.74
#CD9EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EF0
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EF0#FFFFFF#000000##000000
##CD9EF01.002.159.749.74
#FFFFFF2.151.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF3
Deuteranopia (green-blind)
#99B1EE
Tritanopia (blue-blind)
#C9A9BC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9ef0;
/* rgb */ color: rgb(205, 158, 240);
/* oklch */ color: oklch(77.2% 0.124 309.9);
Tailwind
colors: {
  custom: {
    50: '#ddbbf5',
    500: '#cd9ef0',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ef0;
$custom-light: #ddbbf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ef0",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 240
  },
  "hsl": {
    "h": 274.39,
    "s": 73.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77186,
    "c": 0.12404,
    "h": 309.9
  },
  "luminance": 0.43724
}

Semantic roles & 50–950 ramp

primary
#CD9EF0
secondary
#E4F3D8
accent
#D51064
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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