#B91CD4#B91CD4

#B91CD4 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.7% C 0.262 H 320.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B91CD4
RGBrgb(185, 28, 212)
HSLhsl(291, 77%, 47%)
HSVhsv(291, 87%, 83%)
CMYKcmyk(12.7%, 86.8%, 0%, 16.9%)
CIE-LABlab(46.84, 78.06, -58.87)
CIE-LCHlch(46.84, 97.77, 322.98°)
OKLaboklab(57.69% 0.2026 -0.1654)
OKLCHoklch(57.69% 0.262 320.8)
XYZxyz(32.3051, 15.9001, 63.6420)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B91CD4 #37D41C
analogous
#5D1CD4 #B91CD4 #D41C93
triadic
#B91CD4 #D4B91C #1CD4B9
tetradic
#B91CD4 #D45D1C #37D41C #1C93D4
square
#B91CD4 #D45D1C #37D41C #1C93D4
split-complementary
#B91CD4 #93D41C #1CD45D
monochromatic
#5B0E68 #8A159E #B91CD4 #CF47E7 #DD7DEE

Accessibility & contrast

On white

5.02
#B91CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B91CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B91CD4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B91CD4#FFFFFF#000000##FFFFFF
##B91CD41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#BA4B7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b91cd4;
/* rgb */ color: rgb(185, 28, 212);
/* oklch */ color: oklch(57.7% 0.262 320.8);
Tailwind
colors: {
  custom: {
    50: '#d372e2',
    500: '#b91cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b91cd4;
$custom-light: #d372e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b91cd4",
  "rgb": {
    "r": 185,
    "g": 28,
    "b": 212
  },
  "hsl": {
    "h": 291.196,
    "s": 76.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.26155,
    "h": 320.8
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#B91CD4
secondary
#84D676
accent
#F33551
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150915
muted
#837B83

Preview Lab

Preview with #B91CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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