#D291F9#D291F9

#D291F9 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.9% C 0.158 H 311.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#D291F9
RGBrgb(210, 145, 249)
HSLhsl(278, 90%, 77%)
HSVhsv(278, 42%, 98%)
CMYKcmyk(15.7%, 41.8%, 0%, 2.4%)
CIE-LABlab(70.03, 42.78, -42.54)
CIE-LCHlch(70.03, 60.33, 315.16°)
OKLaboklab(75.9% 0.1056 -0.1179)
OKLCHoklch(75.9% 0.158 311.9)
XYZxyz(53.7997, 40.7930, 94.6439)
Luminance0.4079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291F9 #B8F991
analogous
#9E91F9 #D291F9 #F991EC
triadic
#D291F9 #F9D291 #91F9D2
tetradic
#D291F9 #F99E91 #B8F991 #91ECF9
square
#D291F9 #F99E91 #B8F991 #91ECF9
split-complementary
#D291F9 #ECF991 #91F99E
monochromatic
#A31DF3 #BA57F6 #D291F9 #EACBFC #F3E2FD

Accessibility & contrast

On white

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

On black

9.16
#D291F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291F9
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291F9#FFFFFF#000000##000000
##D291F91.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FD
Deuteranopia (green-blind)
#8DADF6
Tritanopia (blue-blind)
#CEA0B9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d291f9;
/* rgb */ color: rgb(210, 145, 249);
/* oklch */ color: oklch(75.9% 0.158 311.9);
Tailwind
colors: {
  custom: {
    50: '#e1b2fb',
    500: '#d291f9',
    950: '#000000',
  },
}
SCSS
$custom: #d291f9;
$custom-light: #e1b2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d291f9",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 249
  },
  "hsl": {
    "h": 277.5,
    "s": 89.655,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75902,
    "c": 0.15829,
    "h": 311.9
  },
  "luminance": 0.40792
}

Semantic roles & 50–950 ramp

primary
#D291F9
secondary
#E1F6D5
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D291F9

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

Preview Lab → · Contrast checker → · Palette generator →

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