#D289FC#D289FC

#D289FC is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.8% C 0.175 H 312.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#D289FC
RGBrgb(210, 137, 252)
HSLhsl(278, 95%, 76%)
HSVhsv(278, 46%, 99%)
CMYKcmyk(16.7%, 45.6%, 0%, 1.2%)
CIE-LABlab(68.48, 47.66, -46.62)
CIE-LCHlch(68.48, 66.67, 315.63°)
OKLaboklab(74.78% 0.1171 -0.1296)
OKLCHoklch(74.78% 0.175 312.1)
XYZxyz(53.0916, 38.6223, 96.7346)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D289FC #B3FC89
analogous
#9989FC #D289FC #FC89ED
triadic
#D289FC #FCD289 #89FCD2
tetradic
#D289FC #FC9989 #B3FC89 #89EDFC
square
#D289FC #FC9989 #B3FC89 #89EDFC
split-complementary
#D289FC #EDFC89 #89FC99
monochromatic
#A412F9 #BB4DFA #D289FC #E9C5FE #F4E1FE

Accessibility & contrast

On white

2.41
#D289FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#D289FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D289FC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D289FC#FFFFFF#000000##000000
##D289FC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#CE9BB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d289fc;
/* rgb */ color: rgb(210, 137, 252);
/* oklch */ color: oklch(74.8% 0.175 312.1);
Tailwind
colors: {
  custom: {
    50: '#e2adfe',
    500: '#d289fc',
    950: '#000000',
  },
}
SCSS
$custom: #d289fc;
$custom-light: #e2adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d289fc",
  "rgb": {
    "r": 210,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 278.087,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74782,
    "c": 0.1747,
    "h": 312.1
  },
  "luminance": 0.38621
}

Semantic roles & 50–950 ramp

primary
#D289FC
secondary
#E1F6D5
accent
#E60054
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D289FC

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

Preview Lab → · Contrast checker → · Palette generator →

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