#D291FF#D291FF

#D291FF is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.2% C 0.165 H 310.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#D291FF
RGBrgb(210, 145, 255)
HSLhsl(275, 100%, 78%)
HSVhsv(275, 43%, 100%)
CMYKcmyk(17.6%, 43.1%, 0%, 0%)
CIE-LABlab(70.30, 44.05, -45.39)
CIE-LCHlch(70.30, 63.26, 314.14°)
OKLaboklab(76.19% 0.1066 -0.1261)
OKLCHoklch(76.19% 0.165 310.2)
XYZxyz(54.7504, 41.1733, 99.6513)
Luminance0.4117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291FF #BEFF91
analogous
#9B91FF #D291FF #FF91F5
triadic
#D291FF #FFD291 #91FFD2
tetradic
#D291FF #FF9B91 #BEFF91 #91F5FF
square
#D291FF #FF9B91 #BEFF91 #91F5FF
split-complementary
#D291FF #F5FF91 #91FF9B
monochromatic
#A017FF #B954FF #D291FF #EBCEFF #F2E0FF

Accessibility & contrast

On white

2.27
#D291FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#D291FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291FF
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291FF#FFFFFF#000000##000000
##D291FF1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#CDA2BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d291ff;
/* rgb */ color: rgb(210, 145, 255);
/* oklch */ color: oklch(76.2% 0.165 310.2);
Tailwind
colors: {
  custom: {
    50: '#e1b2ff',
    500: '#d291ff',
    950: '#000000',
  },
}
SCSS
$custom: #d291ff;
$custom-light: #e1b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d291ff",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 255
  },
  "hsl": {
    "h": 275.455,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76189,
    "c": 0.16516,
    "h": 310.2
  },
  "luminance": 0.41172
}

Semantic roles & 50–950 ramp

primary
#D291FF
secondary
#E2F7D4
accent
#E6005E
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D291FF

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

Preview Lab → · Contrast checker → · Palette generator →

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