#CD9FF3#CD9FF3

#CD9FF3 is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.5% C 0.126 H 308.8°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CD9FF3
RGBrgb(205, 159, 243)
HSLhsl(273, 78%, 79%)
HSVhsv(273, 35%, 95%)
CMYKcmyk(15.6%, 34.6%, 0%, 4.7%)
CIE-LABlab(72.39, 32.47, -35.63)
CIE-LCHlch(72.39, 48.21, 312.34°)
OKLaboklab(77.49% 0.0789 -0.0982)
OKLCHoklch(77.49% 0.126 308.8)
XYZxyz(53.7496, 44.2470, 90.4856)
Luminance0.4425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FF3 #C5F39F
analogous
#A39FF3 #CD9FF3 #F39FEF
triadic
#CD9FF3 #F3CD9F #9FF3CD
tetradic
#CD9FF3 #F3A39F #C5F39F #9FEFF3
square
#CD9FF3 #F3A39F #C5F39F #9FEFF3
split-complementary
#CD9FF3 #EFF39F #9FF3A3
monochromatic
#9432E5 #B169EC #CD9FF3 #E9D5FA #F1E4FC

Accessibility & contrast

On white

2.13
#CD9FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#CD9FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FF3
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FF3#FFFFFF#000000##000000
##CD9FF31.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB0F6
Deuteranopia (green-blind)
#99B2F1
Tritanopia (blue-blind)
#C8ABBE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9ff3;
/* rgb */ color: rgb(205, 159, 243);
/* oklch */ color: oklch(77.5% 0.126 308.8);
Tailwind
colors: {
  custom: {
    50: '#ddbcf7',
    500: '#cd9ff3',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ff3;
$custom-light: #ddbcf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ff3",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 243
  },
  "hsl": {
    "h": 272.857,
    "s": 77.778,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77491,
    "c": 0.12601,
    "h": 308.8
  },
  "luminance": 0.44246
}

Semantic roles & 50–950 ramp

primary
#CD9FF3
secondary
#E4F3D8
accent
#DA0B69
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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