#D289F7#D289F7

#D289F7 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.5% C 0.169 H 313.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#D289F7
RGBrgb(210, 137, 247)
HSLhsl(280, 87%, 75%)
HSVhsv(280, 45%, 97%)
CMYKcmyk(15%, 44.5%, 0%, 3.1%)
CIE-LABlab(68.25, 46.61, -44.24)
CIE-LCHlch(68.25, 64.27, 316.49°)
OKLaboklab(74.54% 0.1164 -0.1228)
OKLCHoklch(74.54% 0.169 313.5)
XYZxyz(52.3097, 38.3095, 92.6165)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D289F7 #AEF789
analogous
#9B89F7 #D289F7 #F789E5
triadic
#D289F7 #F7D289 #89F7D2
tetradic
#D289F7 #F79B89 #AEF789 #89E5F7
square
#D289F7 #F79B89 #AEF789 #89E5F7
split-complementary
#D289F7 #E5F789 #89F79B
monochromatic
#A616EF #BC50F3 #D289F7 #E8C2FB #F4E2FD

Accessibility & contrast

On white

2.42
#D289F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#D289F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D289F7
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D289F7#FFFFFF#000000##000000
##D289F71.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2FB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#CF99B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d289f7;
/* rgb */ color: rgb(210, 137, 247);
/* oklch */ color: oklch(74.5% 0.169 313.5);
Tailwind
colors: {
  custom: {
    50: '#e1adfa',
    500: '#d289f7',
    950: '#000000',
  },
}
SCSS
$custom: #d289f7;
$custom-light: #e1adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d289f7",
  "rgb": {
    "r": 210,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 279.818,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74537,
    "c": 0.16916,
    "h": 313.5
  },
  "luminance": 0.38308
}

Semantic roles & 50–950 ramp

primary
#D289F7
secondary
#E0F5D6
accent
#E4024E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D289F7

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

Preview Lab → · Contrast checker → · Palette generator →

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