#D291FC#D291FC

#D291FC is a light, vivid violet. Relative luminance 0.410; OKLCH L 76.0% C 0.162 H 311.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D291FC
RGBrgb(210, 145, 252)
HSLhsl(276, 95%, 78%)
HSVhsv(276, 42%, 99%)
CMYKcmyk(16.7%, 42.5%, 0%, 1.2%)
CIE-LABlab(70.16, 43.42, -43.97)
CIE-LCHlch(70.16, 61.79, 314.64°)
OKLaboklab(76.04% 0.1061 -0.122)
OKLCHoklch(76.04% 0.162 311)
XYZxyz(54.2713, 40.9816, 97.1278)
Luminance0.4098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291FC #BBFC91
analogous
#9D91FC #D291FC #FC91F0
triadic
#D291FC #FCD291 #91FCD2
tetradic
#D291FC #FC9D91 #BBFC91 #91F0FC
square
#D291FC #FC9D91 #BBFC91 #91F0FC
split-complementary
#D291FC #F0FC91 #91FC9D
monochromatic
#A11AF9 #BA55FA #D291FC #EACDFE #F3E1FE

Accessibility & contrast

On white

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

On black

9.20
#D291FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291FC
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291FC#FFFFFF#000000##000000
##D291FC1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d291fc;
/* rgb */ color: rgb(210, 145, 252);
/* oklch */ color: oklch(76.0% 0.162 311.0);
Tailwind
colors: {
  custom: {
    50: '#e1b2fe',
    500: '#d291fc',
    950: '#000000',
  },
}
SCSS
$custom: #d291fc;
$custom-light: #e1b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d291fc",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 276.449,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76044,
    "c": 0.16172,
    "h": 311
  },
  "luminance": 0.40981
}

Semantic roles & 50–950 ramp

primary
#D291FC
secondary
#E2F6D5
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D291FC

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

Preview Lab → · Contrast checker → · Palette generator →

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