#D591FC#D591FC

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

Color values

HEX#D591FC
RGBrgb(213, 145, 252)
HSLhsl(278, 95%, 78%)
HSVhsv(278, 42%, 99%)
CMYKcmyk(15.5%, 42.5%, 0%, 1.2%)
CIE-LABlab(70.47, 44.26, -43.46)
CIE-LCHlch(70.47, 62.03, 315.52°)
OKLaboklab(76.35% 0.1096 -0.1205)
OKLCHoklch(76.35% 0.163 312.3)
XYZxyz(55.1337, 41.4263, 97.1683)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D591FC #B8FC91
analogous
#9F91FC #D591FC #FC91ED
triadic
#D591FC #FCD591 #91FCD5
tetradic
#D591FC #FC9F91 #B8FC91 #91EDFC
square
#D591FC #FC9F91 #B8FC91 #91EDFC
split-complementary
#D591FC #EDFC91 #91FC9F
monochromatic
#A81AF9 #BE55FA #D591FC #ECCDFE #F4E1FE

Accessibility & contrast

On white

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

On black

9.29
#D591FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D591FC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D591FC#FFFFFF#000000##000000
##D591FC1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d591fc;
/* rgb */ color: rgb(213, 145, 252);
/* oklch */ color: oklch(76.3% 0.163 312.3);
Tailwind
colors: {
  custom: {
    50: '#e3b2fe',
    500: '#d591fc',
    950: '#000000',
  },
}
SCSS
$custom: #d591fc;
$custom-light: #e3b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d591fc",
  "rgb": {
    "r": 213,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 278.131,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76348,
    "c": 0.16289,
    "h": 312.3
  },
  "luminance": 0.41425
}

Semantic roles & 50–950 ramp

primary
#D591FC
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D591FC

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

Preview Lab → · Contrast checker → · Palette generator →

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