#CD9FF8#CD9FF8

#CD9FF8 is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.7% C 0.132 H 307.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CD9FF8
RGBrgb(205, 159, 248)
HSLhsl(271, 86%, 80%)
HSVhsv(271, 36%, 97%)
CMYKcmyk(17.3%, 35.9%, 0%, 2.7%)
CIE-LABlab(72.60, 33.55, -38.03)
CIE-LCHlch(72.60, 50.71, 311.41°)
OKLaboklab(77.71% 0.0801 -0.1051)
OKLCHoklch(77.71% 0.132 307.3)
XYZxyz(54.5150, 44.5532, 94.5165)
Luminance0.4455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FF8 #CAF89F
analogous
#A09FF8 #CD9FF8 #F89FF7
triadic
#CD9FF8 #F8CD9F #9FF8CD
tetradic
#CD9FF8 #F8A09F #CAF89F #9FF7F8
square
#CD9FF8 #F8A09F #CAF89F #9FF7F8
split-complementary
#CD9FF8 #F7F89F #9FF8A0
monochromatic
#922DF0 #AF66F4 #CD9FF8 #EBD8FC #F0E2FD

Accessibility & contrast

On white

2.12
#CD9FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#CD9FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FF8
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FF8#FFFFFF#000000##000000
##CD9FF81.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB0FB
Deuteranopia (green-blind)
#97B3F5
Tritanopia (blue-blind)
#C7ACC0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9ff8;
/* rgb */ color: rgb(205, 159, 248);
/* oklch */ color: oklch(77.7% 0.132 307.3);
Tailwind
colors: {
  custom: {
    50: '#ddbcfb',
    500: '#cd9ff8',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ff8;
$custom-light: #ddbcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ff8",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 248
  },
  "hsl": {
    "h": 271.011,
    "s": 86.408,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77712,
    "c": 0.13211,
    "h": 307.3
  },
  "luminance": 0.44553
}

Semantic roles & 50–950 ramp

primary
#CD9FF8
secondary
#E5F5D6
accent
#E3036F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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