#B51EBB#B51EBB

#B51EBB is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.6% C 0.241 H 326.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B51EBB
RGBrgb(181, 30, 187)
HSLhsl(298, 72%, 43%)
HSVhsv(298, 84%, 73%)
CMYKcmyk(3.2%, 84%, 0%, 26.7%)
CIE-LABlab(44.72, 72.90, -47.81)
CIE-LCHlch(44.72, 87.18, 326.74°)
OKLaboklab(55.57% 0.2005 -0.1332)
OKLCHoklch(55.57% 0.241 326.4)
XYZxyz(28.4894, 14.3422, 48.2719)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B51EBB #24BB1E
analogous
#661EBB #B51EBB #BB1E72
triadic
#B51EBB #BBB51E #1EBBB5
tetradic
#B51EBB #BB661E #24BB1E #1E72BB
square
#B51EBB #BB661E #24BB1E #1E72BB
split-complementary
#B51EBB #72BB1E #1EBB66
monochromatic
#4F0D52 #821686 #B51EBB #D937DF #E36CE7

Accessibility & contrast

On white

5.43
#B51EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B51EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B51EBB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B51EBB#FFFFFF#000000##FFFFFF
##B51EBB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#BA3F70
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b51ebb;
/* rgb */ color: rgb(181, 30, 187);
/* oklch */ color: oklch(55.6% 0.241 326.4);
Tailwind
colors: {
  custom: {
    50: '#d070d0',
    500: '#b51ebb',
    950: '#000000',
  },
}
SCSS
$custom: #b51ebb;
$custom-light: #d070d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b51ebb",
  "rgb": {
    "r": 181,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 297.707,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55569,
    "c": 0.24072,
    "h": 326.4
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#B51EBB
secondary
#6BCD67
accent
#EF3940
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B51EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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