#CD9FFB#CD9FFB

#CD9FFB is a light, vivid violet. Relative luminance 0.447; OKLCH L 77.8% C 0.136 H 306.5°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CD9FFB
RGBrgb(205, 159, 251)
HSLhsl(270, 92%, 80%)
HSVhsv(270, 37%, 98%)
CMYKcmyk(18.3%, 36.7%, 0%, 1.6%)
CIE-LABlab(72.72, 34.20, -39.47)
CIE-LCHlch(72.72, 52.22, 310.91°)
OKLaboklab(77.85% 0.0807 -0.1092)
OKLCHoklch(77.85% 0.136 306.5)
XYZxyz(54.9841, 44.7408, 96.9873)
Luminance0.4474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FFB #CDFB9F
analogous
#9F9FFB #CD9FFB #FB9FFB
triadic
#CD9FFB #FBCD9F #9FFBCD
tetradic
#CD9FFB #FB9F9F #CDFB9F #9FFBFB
square
#CD9FFB #FB9F9F #CDFB9F #9FFBFB
split-complementary
#CD9FFB #FBFB9F #9FFB9F
monochromatic
#9029F6 #AE64F9 #CD9FFB #ECDAFD #F0E2FE

Accessibility & contrast

On white

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

On black

9.95
#CD9FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FFB
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FFB#FFFFFF#000000##000000
##CD9FFB1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FF
Deuteranopia (green-blind)
#95B3F8
Tritanopia (blue-blind)
#C6ADC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9ffb;
/* rgb */ color: rgb(205, 159, 251);
/* oklch */ color: oklch(77.8% 0.136 306.5);
Tailwind
colors: {
  custom: {
    50: '#ddbcfd',
    500: '#cd9ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ffb;
$custom-light: #ddbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ffb",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 270,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77848,
    "c": 0.1358,
    "h": 306.5
  },
  "luminance": 0.4474
}

Semantic roles & 50–950 ramp

primary
#CD9FFB
secondary
#E6F6D5
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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