#D489EC#D489EC

#D489EC is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.2% C 0.158 H 317.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#D489EC
RGBrgb(212, 137, 236)
HSLhsl(285, 72%, 73%)
HSVhsv(285, 42%, 93%)
CMYKcmyk(10.2%, 41.9%, 0%, 7.5%)
CIE-LABlab(67.98, 44.94, -38.61)
CIE-LCHlch(67.98, 59.25, 319.33°)
OKLaboklab(74.23% 0.1168 -0.1065)
OKLCHoklch(74.23% 0.158 317.6)
XYZxyz(51.2352, 37.9460, 83.9660)
Luminance0.3794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D489EC #A1EC89
analogous
#A289EC #D489EC #EC89D2
triadic
#D489EC #ECD489 #89ECD4
tetradic
#D489EC #ECA289 #A1EC89 #89D2EC
square
#D489EC #ECA289 #A1EC89 #89D2EC
split-complementary
#D489EC #D2EC89 #89ECA2
monochromatic
#AC23D8 #C154E4 #D489EC #E7BEF4 #F5E5FB

Accessibility & contrast

On white

2.45
#D489EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#D489EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D489EC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D489EC#FFFFFF#000000##000000
##D489EC1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F0
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#D496AF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d489ec;
/* rgb */ color: rgb(212, 137, 236);
/* oklch */ color: oklch(74.2% 0.158 317.6);
Tailwind
colors: {
  custom: {
    50: '#e3adf2',
    500: '#d489ec',
    950: '#000000',
  },
}
SCSS
$custom: #d489ec;
$custom-light: #e3adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d489ec",
  "rgb": {
    "r": 212,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 285.455,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74226,
    "c": 0.15808,
    "h": 317.6
  },
  "luminance": 0.37944
}

Semantic roles & 50–950 ramp

primary
#D489EC
secondary
#DFF2D9
accent
#D41140
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D489EC

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

Preview Lab → · Contrast checker → · Palette generator →

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