#D391FA#D391FA

#D391FA is a light, vivid violet. Relative luminance 0.410; OKLCH L 76.0% C 0.160 H 312.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D391FA
RGBrgb(211, 145, 250)
HSLhsl(278, 91%, 77%)
HSVhsv(278, 42%, 98%)
CMYKcmyk(15.6%, 42%, 0%, 2%)
CIE-LABlab(70.18, 43.28, -42.85)
CIE-LCHlch(70.18, 60.90, 315.28°)
OKLaboklab(76.05% 0.107 -0.1188)
OKLCHoklch(76.05% 0.16 312)
XYZxyz(54.2417, 41.0028, 95.4809)
Luminance0.4100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D391FA #B8FA91
analogous
#9E91FA #D391FA #FA91ED
triadic
#D391FA #FAD391 #91FAD3
tetradic
#D391FA #FA9E91 #B8FA91 #91EDFA
square
#D391FA #FA9E91 #B8FA91 #91EDFA
split-complementary
#D391FA #EDFA91 #91FA9E
monochromatic
#A41CF5 #BC56F7 #D391FA #EACCFD #F3E2FE

Accessibility & contrast

On white

2.28
#D391FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#D391FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D391FA
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D391FA#FFFFFF#000000##000000
##D391FA1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#CFA0BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d391fa;
/* rgb */ color: rgb(211, 145, 250);
/* oklch */ color: oklch(76.0% 0.160 312.0);
Tailwind
colors: {
  custom: {
    50: '#e2b2fc',
    500: '#d391fa',
    950: '#000000',
  },
}
SCSS
$custom: #d391fa;
$custom-light: #e2b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d391fa",
  "rgb": {
    "r": 211,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 277.714,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7605,
    "c": 0.15983,
    "h": 312
  },
  "luminance": 0.41002
}

Semantic roles & 50–950 ramp

primary
#D391FA
secondary
#E1F6D5
accent
#E60055
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D391FA

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

Preview Lab → · Contrast checker → · Palette generator →

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