#B151E1#B151E1

#B151E1 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.218 H 312.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B151E1
RGBrgb(177, 81, 225)
HSLhsl(280, 71%, 60%)
HSVhsv(280, 64%, 88%)
CMYKcmyk(21.3%, 64%, 0%, 11.8%)
CIE-LABlab(52.59, 61.60, -57.10)
CIE-LCHlch(52.59, 83.99, 317.17°)
OKLaboklab(61.8% 0.1471 -0.1608)
OKLCHoklch(61.8% 0.218 312.5)
XYZxyz(34.6621, 20.6691, 73.3832)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151E1 #81E151
analogous
#6951E1 #B151E1 #E151C9
triadic
#B151E1 #E1B151 #51E1B1
tetradic
#B151E1 #E16951 #81E151 #51C9E1
square
#B151E1 #E16951 #81E151 #51C9E1
split-complementary
#B151E1 #C9E151 #51E169
monochromatic
#711B9D #9724D1 #B151E1 #C885EA #E0B9F3

Accessibility & contrast

On white

4.09
#B151E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B151E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151E1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151E1#FFFFFF#000000##000000
##B151E11.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E5
Deuteranopia (green-blind)
#4680DE
Tritanopia (blue-blind)
#AC6D92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b151e1;
/* rgb */ color: rgb(177, 81, 225);
/* oklch */ color: oklch(61.8% 0.218 312.5);
Tailwind
colors: {
  custom: {
    50: '#cc88eb',
    500: '#b151e1',
    950: '#000000',
  },
}
SCSS
$custom: #b151e1;
$custom-light: #cc88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b151e1",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 280,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.21793,
    "h": 312.5
  },
  "luminance": 0.20668
}

Semantic roles & 50–950 ramp

primary
#B151E1
secondary
#BEE3AB
accent
#ED3A76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B151E1

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

Preview Lab → · Contrast checker → · Palette generator →

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