#D291FE#D291FE

#D291FE is a light, vivid violet. Relative luminance 0.411; OKLCH L 76.1% C 0.164 H 310.5°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#D291FE
RGBrgb(210, 145, 254)
HSLhsl(276, 98%, 78%)
HSVhsv(276, 43%, 100%)
CMYKcmyk(17.3%, 42.9%, 0%, 0.4%)
CIE-LABlab(70.25, 43.84, -44.92)
CIE-LCHlch(70.25, 62.77, 314.30°)
OKLaboklab(76.14% 0.1065 -0.1248)
OKLCHoklch(76.14% 0.164 310.5)
XYZxyz(54.5899, 41.1091, 98.8058)
Luminance0.4111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291FE #BDFE91
analogous
#9B91FE #D291FE #FE91F3
triadic
#D291FE #FED291 #91FED2
tetradic
#D291FE #FE9B91 #BDFE91 #91F3FE
square
#D291FE #FE9B91 #BDFE91 #91F3FE
split-complementary
#D291FE #F3FE91 #91FE9B
monochromatic
#A018FD #B954FD #D291FE #EBCEFF #F3E1FF

Accessibility & contrast

On white

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

On black

9.22
#D291FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291FE
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291FE#FFFFFF#000000##000000
##D291FE1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#CDA2BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d291fe;
/* rgb */ color: rgb(210, 145, 254);
/* oklch */ color: oklch(76.1% 0.164 310.5);
Tailwind
colors: {
  custom: {
    50: '#e1b2ff',
    500: '#d291fe',
    950: '#000000',
  },
}
SCSS
$custom: #d291fe;
$custom-light: #e1b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d291fe",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 275.78,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76141,
    "c": 0.16401,
    "h": 310.5
  },
  "luminance": 0.41108
}

Semantic roles & 50–950 ramp

primary
#D291FE
secondary
#E2F7D4
accent
#E6005D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D291FE

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

Preview Lab → · Contrast checker → · Palette generator →

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