#CD9FFE#CD9FFE

#CD9FFE is a light, vivid violet. Relative luminance 0.449; OKLCH L 78.0% C 0.139 H 305.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CD9FFE
RGBrgb(205, 159, 254)
HSLhsl(269, 98%, 81%)
HSVhsv(269, 37%, 100%)
CMYKcmyk(19.3%, 37.4%, 0%, 0.4%)
CIE-LABlab(72.85, 34.86, -40.90)
CIE-LCHlch(72.85, 53.74, 310.44°)
OKLaboklab(77.98% 0.0813 -0.1133)
OKLCHoklch(77.98% 0.139 305.7)
XYZxyz(55.4608, 44.9315, 99.4976)
Luminance0.4493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FFE #D0FE9F
analogous
#9FA0FE #CD9FFE #FD9FFE
triadic
#CD9FFE #FECD9F #9FFECD
tetradic
#CD9FFE #FE9FA0 #D0FE9F #9FFEFD
square
#CD9FFE #FE9FA0 #D0FE9F #9FFEFD
split-complementary
#CD9FFE #FEFD9F #A0FE9F
monochromatic
#8E26FD #AD62FD #CD9FFE #EDDCFF #EFE1FF

Accessibility & contrast

On white

2.10
#CD9FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CD9FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FFE
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FFE#FFFFFF#000000##000000
##CD9FFE1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#C6AEC3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cd9ffe;
/* rgb */ color: rgb(205, 159, 254);
/* oklch */ color: oklch(78.0% 0.139 305.7);
Tailwind
colors: {
  custom: {
    50: '#ddbcff',
    500: '#cd9ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ffe;
$custom-light: #ddbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ffe",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 269.053,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77984,
    "c": 0.13948,
    "h": 305.7
  },
  "luminance": 0.44931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD9FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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