#DC9EF2#DC9EF2

#DC9EF2 is a light, vivid purple. Relative luminance 0.461; OKLCH L 78.7% C 0.133 H 317.0°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#DC9EF2
RGBrgb(220, 158, 242)
HSLhsl(284, 76%, 78%)
HSVhsv(284, 35%, 95%)
CMYKcmyk(9.1%, 34.7%, 0%, 5.1%)
CIE-LABlab(73.60, 37.33, -33.10)
CIE-LCHlch(73.60, 49.89, 318.43°)
OKLaboklab(78.73% 0.0972 -0.0908)
OKLCHoklch(78.73% 0.133 317)
XYZxyz(57.7667, 46.0815, 89.8388)
Luminance0.4608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9EF2 #B4F29E
analogous
#B29EF2 #DC9EF2 #F29EDE
triadic
#DC9EF2 #F2DC9E #9EF2DC
tetradic
#DC9EF2 #F2B29E #B4F29E #9EDEF2
square
#DC9EF2 #F2B29E #B4F29E #9EDEF2
split-complementary
#DC9EF2 #DEF29E #9EF2B2
monochromatic
#B532E4 #C968EB #DC9EF2 #EFD4F9 #F5E4FB

Accessibility & contrast

On white

2.06
#DC9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#DC9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9EF2
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9EF2#FFFFFF#000000##000000
##DC9EF21.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#A1B7EF
Tritanopia (blue-blind)
#DCA8BD
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dc9ef2;
/* rgb */ color: rgb(220, 158, 242);
/* oklch */ color: oklch(78.7% 0.133 317.0);
Tailwind
colors: {
  custom: {
    50: '#e8bbf6',
    500: '#dc9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #dc9ef2;
$custom-light: #e8bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9ef2",
  "rgb": {
    "r": 220,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 284.286,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78731,
    "c": 0.13299,
    "h": 317
  },
  "luminance": 0.4608
}

Semantic roles & 50–950 ramp

primary
#DC9EF2
secondary
#DFF3D8
accent
#D90D42
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DC9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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