#DC9AF2#DC9AF2

#DC9AF2 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.1% C 0.140 H 317.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#DC9AF2
RGBrgb(220, 154, 242)
HSLhsl(285, 77%, 78%)
HSVhsv(285, 36%, 95%)
CMYKcmyk(9.1%, 36.4%, 0%, 5.1%)
CIE-LABlab(72.72, 39.47, -34.46)
CIE-LCHlch(72.72, 52.40, 318.87°)
OKLaboklab(78.07% 0.103 -0.0946)
OKLCHoklch(78.07% 0.14 317.4)
XYZxyz(57.0955, 44.7391, 89.6150)
Luminance0.4474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9AF2 #B0F29A
analogous
#B09AF2 #DC9AF2 #F29ADC
triadic
#DC9AF2 #F2DC9A #9AF2DC
tetradic
#DC9AF2 #F2B09A #B0F29A #9ADCF2
square
#DC9AF2 #F2B09A #B0F29A #9ADCF2
split-complementary
#DC9AF2 #DCF29A #9AF2B0
monochromatic
#B62EE4 #C964EB #DC9AF2 #EFD0F9 #F6E4FC

Accessibility & contrast

On white

2.11
#DC9AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#DC9AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9AF2
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9AF2#FFFFFF#000000##000000
##DC9AF21.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAEF5
Deuteranopia (green-blind)
#9DB5EF
Tritanopia (blue-blind)
#DCA5BB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dc9af2;
/* rgb */ color: rgb(220, 154, 242);
/* oklch */ color: oklch(78.1% 0.140 317.4);
Tailwind
colors: {
  custom: {
    50: '#e8b9f6',
    500: '#dc9af2',
    950: '#000000',
  },
}
SCSS
$custom: #dc9af2;
$custom-light: #e8b9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9af2",
  "rgb": {
    "r": 220,
    "g": 154,
    "b": 242
  },
  "hsl": {
    "h": 285,
    "s": 77.193,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78066,
    "c": 0.13982,
    "h": 317.4
  },
  "luminance": 0.44738
}

Semantic roles & 50–950 ramp

primary
#DC9AF2
secondary
#DFF3D8
accent
#D90C3F
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DC9AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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