#D591FB#D591FB

#D591FB is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.3% C 0.162 H 312.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#D591FB
RGBrgb(213, 145, 251)
HSLhsl(278, 93%, 78%)
HSVhsv(278, 42%, 98%)
CMYKcmyk(15.1%, 42.2%, 0%, 1.6%)
CIE-LABlab(70.43, 44.05, -42.99)
CIE-LCHlch(70.43, 61.55, 315.70°)
OKLaboklab(76.3% 0.1094 -0.1191)
OKLCHoklch(76.3% 0.162 312.6)
XYZxyz(54.9756, 41.3631, 96.3359)
Luminance0.4136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D591FB #B7FB91
analogous
#A091FB #D591FB #FB91EC
triadic
#D591FB #FBD591 #91FBD5
tetradic
#D591FB #FBA091 #B7FB91 #91ECFB
square
#D591FB #FBA091 #B7FB91 #91ECFB
split-complementary
#D591FB #ECFB91 #91FBA0
monochromatic
#A81BF7 #BE56F9 #D591FB #ECCCFD #F4E1FE

Accessibility & contrast

On white

2.26
#D591FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#D591FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D591FB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D591FB#FFFFFF#000000##000000
##D591FB1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#8DAEF8
Tritanopia (blue-blind)
#D2A0BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d591fb;
/* rgb */ color: rgb(213, 145, 251);
/* oklch */ color: oklch(76.3% 0.162 312.6);
Tailwind
colors: {
  custom: {
    50: '#e3b2fd',
    500: '#d591fb',
    950: '#000000',
  },
}
SCSS
$custom: #d591fb;
$custom-light: #e3b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d591fb",
  "rgb": {
    "r": 213,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 278.491,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.763,
    "c": 0.16176,
    "h": 312.6
  },
  "luminance": 0.41362
}

Semantic roles & 50–950 ramp

primary
#D591FB
secondary
#E1F6D5
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D591FB

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

Preview Lab → · Contrast checker → · Palette generator →

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