#CD9AF3#CD9AF3

#CD9AF3 is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.6% C 0.134 H 309.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CD9AF3
RGBrgb(205, 154, 243)
HSLhsl(274, 79%, 78%)
HSVhsv(274, 37%, 95%)
CMYKcmyk(15.6%, 36.6%, 0%, 4.7%)
CIE-LABlab(71.26, 35.20, -37.40)
CIE-LCHlch(71.26, 51.35, 313.26°)
OKLaboklab(76.63% 0.086 -0.1032)
OKLCHoklch(76.63% 0.134 309.8)
XYZxyz(52.9072, 42.5621, 90.2048)
Luminance0.4256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9AF3 #C0F39A
analogous
#A09AF3 #CD9AF3 #F39AEC
triadic
#CD9AF3 #F3CD9A #9AF3CD
tetradic
#CD9AF3 #F3A09A #C0F39A #9AECF3
square
#CD9AF3 #F3A09A #C0F39A #9AECF3
split-complementary
#CD9AF3 #ECF39A #9AF3A0
monochromatic
#972DE6 #B263ED #CD9AF3 #E8D1F9 #F1E4FC

Accessibility & contrast

On white

2.21
#CD9AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CD9AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9AF3
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9AF3#FFFFFF#000000##000000
##CD9AF31.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF6
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#C9A7BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9af3;
/* rgb */ color: rgb(205, 154, 243);
/* oklch */ color: oklch(76.6% 0.134 309.8);
Tailwind
colors: {
  custom: {
    50: '#ddb8f7',
    500: '#cd9af3',
    950: '#000000',
  },
}
SCSS
$custom: #cd9af3;
$custom-light: #ddb8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9af3",
  "rgb": {
    "r": 205,
    "g": 154,
    "b": 243
  },
  "hsl": {
    "h": 274.382,
    "s": 78.761,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76628,
    "c": 0.13439,
    "h": 309.8
  },
  "luminance": 0.42561
}

Semantic roles & 50–950 ramp

primary
#CD9AF3
secondary
#E3F4D7
accent
#DB0A64
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD9AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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