#D289EF#D289EF

#D289EF is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.2% C 0.160 H 315.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D289EF
RGBrgb(210, 137, 239)
HSLhsl(283, 76%, 74%)
HSVhsv(283, 43%, 94%)
CMYKcmyk(12.1%, 42.7%, 0%, 6.3%)
CIE-LABlab(67.89, 44.96, -40.41)
CIE-LCHlch(67.89, 60.46, 318.05°)
OKLaboklab(74.15% 0.1151 -0.1117)
OKLCHoklch(74.15% 0.16 315.8)
XYZxyz(51.1016, 37.8263, 86.2539)
Luminance0.3782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D289EF #A6EF89
analogous
#9F89EF #D289EF #EF89D9
triadic
#D289EF #EFD289 #89EFD2
tetradic
#D289EF #EF9F89 #A6EF89 #89D9EF
square
#D289EF #EF9F89 #A6EF89 #89D9EF
split-complementary
#D289EF #D9EF89 #89EF9F
monochromatic
#A81EDF #BD53E8 #D289EF #E7BFF6 #F5E4FB

Accessibility & contrast

On white

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

On black

8.57
#D289EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D289EF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D289EF#FFFFFF#000000##000000
##D289EF1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#8AA8EC
Tritanopia (blue-blind)
#D197B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d289ef;
/* rgb */ color: rgb(210, 137, 239);
/* oklch */ color: oklch(74.2% 0.160 315.8);
Tailwind
colors: {
  custom: {
    50: '#e1adf4',
    500: '#d289ef',
    950: '#000000',
  },
}
SCSS
$custom: #d289ef;
$custom-light: #e1adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d289ef",
  "rgb": {
    "r": 210,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 282.941,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74154,
    "c": 0.16037,
    "h": 315.8
  },
  "luminance": 0.37825
}

Semantic roles & 50–950 ramp

primary
#D289EF
secondary
#E0F3D8
accent
#D80D47
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D289EF

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

Preview Lab → · Contrast checker → · Palette generator →

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