#CD9FFF#CD9FFF

#CD9FFF is a light, vivid violet. Relative luminance 0.450; OKLCH L 78.0% C 0.141 H 305.4°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#CD9FFF
RGBrgb(205, 159, 255)
HSLhsl(269, 100%, 81%)
HSVhsv(269, 38%, 100%)
CMYKcmyk(19.6%, 37.6%, 0%, 0%)
CIE-LABlab(72.89, 35.08, -41.37)
CIE-LCHlch(72.89, 54.24, 310.29°)
OKLaboklab(78.03% 0.0815 -0.1147)
OKLCHoklch(78.03% 0.141 305.4)
XYZxyz(55.6213, 44.9957, 100.3432)
Luminance0.4500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FFF #D1FF9F
analogous
#9FA1FF #CD9FFF #FD9FFF
triadic
#CD9FFF #FFCD9F #9FFFCD
tetradic
#CD9FFF #FF9FA1 #D1FF9F #9FFFFD
square
#CD9FFF #FF9FA1 #D1FF9F #9FFFFD
split-complementary
#CD9FFF #FFFD9F #A1FF9F
monochromatic
#8D25FF #AD62FF #CD9FFF #EDDCFF #EFE0FF

Accessibility & contrast

On white

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

On black

10.00
#CD9FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FFF
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FFF#FFFFFF#000000##000000
##CD9FFF1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd9fff;
/* rgb */ color: rgb(205, 159, 255);
/* oklch */ color: oklch(78.0% 0.141 305.4);
Tailwind
colors: {
  custom: {
    50: '#ddbcff',
    500: '#cd9fff',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fff;
$custom-light: #ddbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fff",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 255
  },
  "hsl": {
    "h": 268.75,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.7803,
    "c": 0.14072,
    "h": 305.4
  },
  "luminance": 0.44995
}

Semantic roles & 50–950 ramp

primary
#CD9FFF
secondary
#E6F7D4
accent
#E60078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CD9FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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