#D489FC#D489FC

#D489FC is a light, vivid violet. Relative luminance 0.389; OKLCH L 75.0% C 0.175 H 312.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#D489FC
RGBrgb(212, 137, 252)
HSLhsl(279, 95%, 76%)
HSVhsv(279, 46%, 99%)
CMYKcmyk(15.9%, 45.6%, 0%, 1.2%)
CIE-LABlab(68.69, 48.21, -46.26)
CIE-LCHlch(68.69, 66.82, 316.18°)
OKLaboklab(74.99% 0.1194 -0.1286)
OKLCHoklch(74.99% 0.175 312.9)
XYZxyz(53.6648, 38.9178, 96.7615)
Luminance0.3892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D489FC #B1FC89
analogous
#9B89FC #D489FC #FC89EB
triadic
#D489FC #FCD489 #89FCD4
tetradic
#D489FC #FC9B89 #B1FC89 #89EBFC
square
#D489FC #FC9B89 #B1FC89 #89EBFC
split-complementary
#D489FC #EBFC89 #89FC9B
monochromatic
#A912F9 #BE4DFA #D489FC #EAC5FE #F4E1FE

Accessibility & contrast

On white

2.39
#D489FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#D489FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D489FC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D489FC#FFFFFF#000000##000000
##D489FC1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#D09AB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d489fc;
/* rgb */ color: rgb(212, 137, 252);
/* oklch */ color: oklch(75.0% 0.175 312.9);
Tailwind
colors: {
  custom: {
    50: '#e3adfe',
    500: '#d489fc',
    950: '#000000',
  },
}
SCSS
$custom: #d489fc;
$custom-light: #e3adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d489fc",
  "rgb": {
    "r": 212,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 279.13,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74991,
    "c": 0.17549,
    "h": 312.9
  },
  "luminance": 0.38917
}

Semantic roles & 50–950 ramp

primary
#D489FC
secondary
#E0F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D489FC

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

Preview Lab → · Contrast checker → · Palette generator →

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