#B151E0#B151E0

#B151E0 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.217 H 312.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B151E0
RGBrgb(177, 81, 224)
HSLhsl(280, 70%, 60%)
HSVhsv(280, 64%, 88%)
CMYKcmyk(21%, 63.8%, 0%, 12.2%)
CIE-LABlab(52.53, 61.39, -56.63)
CIE-LCHlch(52.53, 83.52, 317.31°)
OKLaboklab(61.74% 0.1471 -0.1594)
OKLCHoklch(61.74% 0.217 312.7)
XYZxyz(34.5261, 20.6147, 72.6668)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151E0 #80E051
analogous
#6A51E0 #B151E0 #E051C7
triadic
#B151E0 #E0B151 #51E0B1
tetradic
#B151E0 #E06A51 #80E051 #51C7E0
square
#B151E0 #E06A51 #80E051 #51C7E0
split-complementary
#B151E0 #C7E051 #51E06A
monochromatic
#711C9B #9725CF #B151E0 #C885E9 #E0B9F3

Accessibility & contrast

On white

4.10
#B151E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B151E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151E0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151E0#FFFFFF#000000##000000
##B151E01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0378E4
Deuteranopia (green-blind)
#477FDD
Tritanopia (blue-blind)
#AC6D92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b151e0;
/* rgb */ color: rgb(177, 81, 224);
/* oklch */ color: oklch(61.7% 0.217 312.7);
Tailwind
colors: {
  custom: {
    50: '#cc88ea',
    500: '#b151e0',
    950: '#000000',
  },
}
SCSS
$custom: #b151e0;
$custom-light: #cc88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b151e0",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 280.28,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.21694,
    "h": 312.7
  },
  "luminance": 0.20614
}

Semantic roles & 50–950 ramp

primary
#B151E0
secondary
#BDE2AB
accent
#ED3B76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B151E0

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

Preview Lab → · Contrast checker → · Palette generator →

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