#D591F9#D591F9

#D591F9 is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.2% C 0.160 H 313.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#D591F9
RGBrgb(213, 145, 249)
HSLhsl(279, 90%, 77%)
HSVhsv(279, 42%, 98%)
CMYKcmyk(14.5%, 41.8%, 0%, 2.4%)
CIE-LABlab(70.34, 43.64, -42.03)
CIE-LCHlch(70.34, 60.59, 316.07°)
OKLaboklab(76.21% 0.1091 -0.1164)
OKLCHoklch(76.21% 0.16 313.2)
XYZxyz(54.6620, 41.2376, 94.6843)
Luminance0.4124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D591F9 #B5F991
analogous
#A191F9 #D591F9 #F991E9
triadic
#D591F9 #F9D591 #91F9D5
tetradic
#D591F9 #F9A191 #B5F991 #91E9F9
square
#D591F9 #F9A191 #B5F991 #91E9F9
split-complementary
#D591F9 #E9F991 #91F9A1
monochromatic
#A91DF3 #BF57F6 #D591F9 #EBCBFC #F4E2FD

Accessibility & contrast

On white

2.27
#D591F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#D591F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D591F9
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D591F9#FFFFFF#000000##000000
##D591F91.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#8EAEF6
Tritanopia (blue-blind)
#D2A0B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d591f9;
/* rgb */ color: rgb(213, 145, 249);
/* oklch */ color: oklch(76.2% 0.160 313.2);
Tailwind
colors: {
  custom: {
    50: '#e3b2fb',
    500: '#d591f9',
    950: '#000000',
  },
}
SCSS
$custom: #d591f9;
$custom-light: #e3b2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d591f9",
  "rgb": {
    "r": 213,
    "g": 145,
    "b": 249
  },
  "hsl": {
    "h": 279.231,
    "s": 89.655,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76206,
    "c": 0.15951,
    "h": 313.2
  },
  "luminance": 0.41236
}

Semantic roles & 50–950 ramp

primary
#D591F9
secondary
#E1F6D5
accent
#E6004F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D591F9

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

Preview Lab → · Contrast checker → · Palette generator →

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