#D491FC#D491FC

#D491FC is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.2% C 0.162 H 311.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#D491FC
RGBrgb(212, 145, 252)
HSLhsl(278, 95%, 78%)
HSVhsv(278, 42%, 99%)
CMYKcmyk(15.9%, 42.5%, 0%, 1.2%)
CIE-LABlab(70.37, 43.98, -43.63)
CIE-LCHlch(70.37, 61.95, 315.23°)
OKLaboklab(76.25% 0.1085 -0.121)
OKLCHoklch(76.25% 0.162 311.9)
XYZxyz(54.8444, 41.2771, 97.1547)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D491FC #B9FC91
analogous
#9E91FC #D491FC #FC91EE
triadic
#D491FC #FCD491 #91FCD4
tetradic
#D491FC #FC9E91 #B9FC91 #91EEFC
square
#D491FC #FC9E91 #B9FC91 #91EEFC
split-complementary
#D491FC #EEFC91 #91FC9E
monochromatic
#A51AF9 #BD55FA #D491FC #EBCDFE #F3E1FE

Accessibility & contrast

On white

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

On black

9.26
#D491FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D491FC
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D491FC#FFFFFF#000000##000000
##D491FC1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#8CAEF9
Tritanopia (blue-blind)
#D0A1BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d491fc;
/* rgb */ color: rgb(212, 145, 252);
/* oklch */ color: oklch(76.2% 0.162 311.9);
Tailwind
colors: {
  custom: {
    50: '#e3b2fe',
    500: '#d491fc',
    950: '#000000',
  },
}
SCSS
$custom: #d491fc;
$custom-light: #e3b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d491fc",
  "rgb": {
    "r": 212,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 277.57,
    "s": 94.69,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76246,
    "c": 0.16249,
    "h": 311.9
  },
  "luminance": 0.41276
}

Semantic roles & 50–950 ramp

primary
#D491FC
secondary
#E1F6D5
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D491FC

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

Preview Lab → · Contrast checker → · Palette generator →

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