#DC94EC#DC94EC

#DC94EC is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.8% C 0.144 H 320.2°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#DC94EC
RGBrgb(220, 148, 236)
HSLhsl(289, 70%, 75%)
HSVhsv(289, 37%, 93%)
CMYKcmyk(6.8%, 37.3%, 0%, 7.5%)
CIE-LABlab(71.18, 41.48, -33.57)
CIE-LCHlch(71.18, 53.37, 321.02°)
OKLaboklab(76.83% 0.1103 -0.092)
OKLCHoklch(76.83% 0.144 320.2)
XYZxyz(55.2435, 42.4533, 84.6249)
Luminance0.4245 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC94EC #A4EC94
analogous
#B094EC #DC94EC #EC94D0
triadic
#DC94EC #ECDC94 #94ECDC
tetradic
#DC94EC #ECB094 #A4EC94 #94D0EC
square
#DC94EC #ECB094 #A4EC94 #94D0EC
split-complementary
#DC94EC #D0EC94 #94ECB0
monochromatic
#BA2CDA #CB60E3 #DC94EC #EDC8F5 #F7E5FA

Accessibility & contrast

On white

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

On black

9.49
#DC94EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC94EC
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC94EC#FFFFFF#000000##000000
##DC94EC1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EF
Deuteranopia (green-blind)
#9BB1E9
Tritanopia (blue-blind)
#DD9EB5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc94ec;
/* rgb */ color: rgb(220, 148, 236);
/* oklch */ color: oklch(76.8% 0.144 320.2);
Tailwind
colors: {
  custom: {
    50: '#e8b4f2',
    500: '#dc94ec',
    950: '#000000',
  },
}
SCSS
$custom: #dc94ec;
$custom-light: #e8b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc94ec",
  "rgb": {
    "r": 220,
    "g": 148,
    "b": 236
  },
  "hsl": {
    "h": 289.091,
    "s": 69.841,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76827,
    "c": 0.14362,
    "h": 320.2
  },
  "luminance": 0.42452
}

Semantic roles & 50–950 ramp

primary
#DC94EC
secondary
#DEF2D9
accent
#D21436
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC94EC

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

Preview Lab → · Contrast checker → · Palette generator →

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