#DC9CF2#DC9CF2

#DC9CF2 is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.4% C 0.136 H 317.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#DC9CF2
RGBrgb(220, 156, 242)
HSLhsl(285, 77%, 78%)
HSVhsv(285, 36%, 95%)
CMYKcmyk(9.1%, 35.5%, 0%, 5.1%)
CIE-LABlab(73.16, 38.40, -33.79)
CIE-LCHlch(73.16, 51.15, 318.66°)
OKLaboklab(78.4% 0.1001 -0.0927)
OKLCHoklch(78.4% 0.136 317.2)
XYZxyz(57.4284, 45.4048, 89.7260)
Luminance0.4540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9CF2 #B2F29C
analogous
#B19CF2 #DC9CF2 #F29CDD
triadic
#DC9CF2 #F2DC9C #9CF2DC
tetradic
#DC9CF2 #F2B19C #B2F29C #9CDDF2
square
#DC9CF2 #F2B19C #B2F29C #9CDDF2
split-complementary
#DC9CF2 #DDF29C #9CF2B1
monochromatic
#B630E4 #C966EB #DC9CF2 #EFD2F9 #F5E4FB

Accessibility & contrast

On white

2.08
#DC9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#DC9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9CF2
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9CF2#FFFFFF#000000##000000
##DC9CF21.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#DCA7BC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #dc9cf2;
/* rgb */ color: rgb(220, 156, 242);
/* oklch */ color: oklch(78.4% 0.136 317.2);
Tailwind
colors: {
  custom: {
    50: '#e8baf6',
    500: '#dc9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #dc9cf2;
$custom-light: #e8baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9cf2",
  "rgb": {
    "r": 220,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 284.651,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78397,
    "c": 0.1364,
    "h": 317.2
  },
  "luminance": 0.45403
}

Semantic roles & 50–950 ramp

primary
#DC9CF2
secondary
#DFF3D8
accent
#D90C41
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DC9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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