#CD9FF4#CD9FF4

#CD9FF4 is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.5% C 0.127 H 308.5°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CD9FF4
RGBrgb(205, 159, 244)
HSLhsl(272, 79%, 79%)
HSVhsv(272, 35%, 96%)
CMYKcmyk(16%, 34.8%, 0%, 4.3%)
CIE-LABlab(72.43, 32.68, -36.11)
CIE-LCHlch(72.43, 48.71, 312.15°)
OKLaboklab(77.54% 0.0792 -0.0996)
OKLCHoklch(77.54% 0.127 308.5)
XYZxyz(53.9011, 44.3076, 91.2831)
Luminance0.4431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FF4 #C6F49F
analogous
#A39FF4 #CD9FF4 #F49FF0
triadic
#CD9FF4 #F4CD9F #9FF4CD
tetradic
#CD9FF4 #F4A39F #C6F49F #9FF0F4
square
#CD9FF4 #F4A39F #C6F49F #9FF0F4
split-complementary
#CD9FF4 #F0F49F #9FF4A3
monochromatic
#9431E7 #B068EE #CD9FF4 #EAD6FA #F1E4FC

Accessibility & contrast

On white

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

On black

9.86
#CD9FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FF4
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FF4#FFFFFF#000000##000000
##CD9FF41.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd9ff4;
/* rgb */ color: rgb(205, 159, 244);
/* oklch */ color: oklch(77.5% 0.127 308.5);
Tailwind
colors: {
  custom: {
    50: '#ddbcf8',
    500: '#cd9ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ff4;
$custom-light: #ddbcf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ff4",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 244
  },
  "hsl": {
    "h": 272.471,
    "s": 79.439,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77535,
    "c": 0.12722,
    "h": 308.5
  },
  "luminance": 0.44307
}

Semantic roles & 50–950 ramp

primary
#CD9FF4
secondary
#E4F4D7
accent
#DC0A6A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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