#D291FA#D291FA

#D291FA is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.9% C 0.159 H 311.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#D291FA
RGBrgb(210, 145, 250)
HSLhsl(277, 91%, 77%)
HSVhsv(277, 42%, 98%)
CMYKcmyk(16%, 42%, 0%, 2%)
CIE-LABlab(70.07, 42.99, -43.02)
CIE-LCHlch(70.07, 60.82, 314.98°)
OKLaboklab(75.95% 0.1058 -0.1193)
OKLCHoklch(75.95% 0.159 311.6)
XYZxyz(53.9560, 40.8555, 95.4675)
Luminance0.4086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291FA #B9FA91
analogous
#9E91FA #D291FA #FA91ED
triadic
#D291FA #FAD291 #91FAD2
tetradic
#D291FA #FA9E91 #B9FA91 #91EDFA
square
#D291FA #FA9E91 #B9FA91 #91EDFA
split-complementary
#D291FA #EDFA91 #91FA9E
monochromatic
#A21CF5 #BA56F7 #D291FA #EACCFD #F3E2FE

Accessibility & contrast

On white

2.29
#D291FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#D291FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291FA
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291FA#FFFFFF#000000##000000
##D291FA1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#CEA1BA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d291fa;
/* rgb */ color: rgb(210, 145, 250);
/* oklch */ color: oklch(75.9% 0.159 311.6);
Tailwind
colors: {
  custom: {
    50: '#e1b2fc',
    500: '#d291fa',
    950: '#000000',
  },
}
SCSS
$custom: #d291fa;
$custom-light: #e1b2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d291fa",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 250
  },
  "hsl": {
    "h": 277.143,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75949,
    "c": 0.15943,
    "h": 311.6
  },
  "luminance": 0.40855
}

Semantic roles & 50–950 ramp

primary
#D291FA
secondary
#E2F6D5
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D291FA

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

Preview Lab → · Contrast checker → · Palette generator →

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