#D491FB#D491FB

#D491FB is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.2% C 0.161 H 312.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#D491FB
RGBrgb(212, 145, 251)
HSLhsl(278, 93%, 78%)
HSVhsv(278, 42%, 98%)
CMYKcmyk(15.5%, 42.2%, 0%, 1.6%)
CIE-LABlab(70.33, 43.77, -43.16)
CIE-LCHlch(70.33, 61.47, 315.40°)
OKLaboklab(76.2% 0.1083 -0.1196)
OKLCHoklch(76.2% 0.161 312.1)
XYZxyz(54.6864, 41.2139, 96.3223)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D491FB #B8FB91
analogous
#9F91FB #D491FB #FB91ED
triadic
#D491FB #FBD491 #91FBD4
tetradic
#D491FB #FB9F91 #B8FB91 #91EDFB
square
#D491FB #FB9F91 #B8FB91 #91EDFB
split-complementary
#D491FB #EDFB91 #91FB9F
monochromatic
#A61BF7 #BD56F9 #D491FB #EBCCFD #F3E1FE

Accessibility & contrast

On white

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

On black

9.24
#D491FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D491FB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D491FB#FFFFFF#000000##000000
##D491FB1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FF
Deuteranopia (green-blind)
#8DADF8
Tritanopia (blue-blind)
#D0A1BA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d491fb;
/* rgb */ color: rgb(212, 145, 251);
/* oklch */ color: oklch(76.2% 0.161 312.1);
Tailwind
colors: {
  custom: {
    50: '#e3b2fd',
    500: '#d491fb',
    950: '#000000',
  },
}
SCSS
$custom: #d491fb;
$custom-light: #e3b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d491fb",
  "rgb": {
    "r": 212,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 277.925,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76199,
    "c": 0.16136,
    "h": 312.1
  },
  "luminance": 0.41213
}

Semantic roles & 50–950 ramp

primary
#D491FB
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D491FB

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

Preview Lab → · Contrast checker → · Palette generator →

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