#D291FD#D291FD

#D291FD is a light, vivid violet. Relative luminance 0.410; OKLCH L 76.1% C 0.163 H 310.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#D291FD
RGBrgb(210, 145, 253)
HSLhsl(276, 96%, 78%)
HSVhsv(276, 43%, 99%)
CMYKcmyk(17%, 42.7%, 0%, 0.8%)
CIE-LABlab(70.21, 43.63, -44.44)
CIE-LCHlch(70.21, 62.28, 314.47°)
OKLaboklab(76.09% 0.1063 -0.1234)
OKLCHoklch(76.09% 0.163 310.7)
XYZxyz(54.4302, 41.0452, 97.9646)
Luminance0.4104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291FD #BCFD91
analogous
#9C91FD #D291FD #FD91F2
triadic
#D291FD #FDD291 #91FDD2
tetradic
#D291FD #FD9C91 #BCFD91 #91F2FD
square
#D291FD #FD9C91 #BCFD91 #91F2FD
split-complementary
#D291FD #F2FD91 #91FD9C
monochromatic
#A119FB #B955FC #D291FD #EBCDFE #F3E1FE

Accessibility & contrast

On white

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

On black

9.21
#D291FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291FD
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291FD#FFFFFF#000000##000000
##D291FD1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#8BADFA
Tritanopia (blue-blind)
#CDA1BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d291fd;
/* rgb */ color: rgb(210, 145, 253);
/* oklch */ color: oklch(76.1% 0.163 310.7);
Tailwind
colors: {
  custom: {
    50: '#e1b2fe',
    500: '#d291fd',
    950: '#000000',
  },
}
SCSS
$custom: #d291fd;
$custom-light: #e1b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d291fd",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 253
  },
  "hsl": {
    "h": 276.111,
    "s": 96.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76092,
    "c": 0.16286,
    "h": 310.7
  },
  "luminance": 0.41044
}

Semantic roles & 50–950 ramp

primary
#D291FD
secondary
#E2F7D4
accent
#E6005B
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D291FD

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

Preview Lab → · Contrast checker → · Palette generator →

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