#B150E1#B150E1

#B150E1 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.219 H 312.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B150E1
RGBrgb(177, 80, 225)
HSLhsl(280, 71%, 60%)
HSVhsv(280, 64%, 88%)
CMYKcmyk(21.3%, 64.4%, 0%, 11.8%)
CIE-LABlab(52.42, 62.05, -57.36)
CIE-LCHlch(52.42, 84.50, 317.25°)
OKLaboklab(61.68% 0.1482 -0.1615)
OKLCHoklch(61.68% 0.219 312.5)
XYZxyz(34.5883, 20.5216, 73.3586)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150E1 #80E150
analogous
#6950E1 #B150E1 #E150C9
triadic
#B150E1 #E1B150 #50E1B1
tetradic
#B150E1 #E16950 #80E150 #50C9E1
square
#B150E1 #E16950 #80E150 #50C9E1
split-complementary
#B150E1 #C9E150 #50E169
monochromatic
#711B9C #9724D0 #B150E1 #C884EA #E0B8F3

Accessibility & contrast

On white

4.11
#B150E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B150E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150E1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150E1#FFFFFF#000000##000000
##B150E11.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#457FDE
Tritanopia (blue-blind)
#AC6C92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b150e1;
/* rgb */ color: rgb(177, 80, 225);
/* oklch */ color: oklch(61.7% 0.219 312.5);
Tailwind
colors: {
  custom: {
    50: '#cc87eb',
    500: '#b150e1',
    950: '#000000',
  },
}
SCSS
$custom: #b150e1;
$custom-light: #cc87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b150e1",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 280.138,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61681,
    "c": 0.21925,
    "h": 312.5
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#B150E1
secondary
#BDE2AA
accent
#ED3A76
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B150E1

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

Preview Lab → · Contrast checker → · Palette generator →

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