#D291FB#D291FB

#D291FB is a light, vivid violet. Relative luminance 0.409; OKLCH L 76.0% C 0.161 H 311.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#D291FB
RGBrgb(210, 145, 251)
HSLhsl(277, 93%, 78%)
HSVhsv(277, 42%, 98%)
CMYKcmyk(16.3%, 42.2%, 0%, 1.6%)
CIE-LABlab(70.12, 43.20, -43.49)
CIE-LCHlch(70.12, 61.31, 314.81°)
OKLaboklab(76% 0.106 -0.1206)
OKLCHoklch(76% 0.161 311.3)
XYZxyz(54.1133, 40.9184, 96.2955)
Luminance0.4092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291FB #BAFB91
analogous
#9D91FB #D291FB #FB91EF
triadic
#D291FB #FBD291 #91FBD2
tetradic
#D291FB #FB9D91 #BAFB91 #91EFFB
square
#D291FB #FB9D91 #BAFB91 #91EFFB
split-complementary
#D291FB #EFFB91 #91FB9D
monochromatic
#A21BF7 #BA56F9 #D291FB #EACCFD #F3E1FE

Accessibility & contrast

On white

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

On black

9.18
#D291FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291FB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291FB#FFFFFF#000000##000000
##D291FB1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d291fb;
/* rgb */ color: rgb(210, 145, 251);
/* oklch */ color: oklch(76.0% 0.161 311.3);
Tailwind
colors: {
  custom: {
    50: '#e1b2fd',
    500: '#d291fb',
    950: '#000000',
  },
}
SCSS
$custom: #d291fb;
$custom-light: #e1b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d291fb",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 276.792,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75997,
    "c": 0.16058,
    "h": 311.3
  },
  "luminance": 0.40917
}

Semantic roles & 50–950 ramp

primary
#D291FB
secondary
#E2F6D5
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D291FB

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

Preview Lab → · Contrast checker → · Palette generator →

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