#B150D4#B150D4

#B150D4 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.9% C 0.207 H 316.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B150D4
RGBrgb(177, 80, 212)
HSLhsl(284, 61%, 57%)
HSVhsv(284, 62%, 83%)
CMYKcmyk(16.5%, 62.3%, 0%, 16.9%)
CIE-LABlab(51.65, 59.39, -51.21)
CIE-LCHlch(51.65, 78.42, 319.23°)
OKLaboklab(60.88% 0.1486 -0.1435)
OKLCHoklch(60.88% 0.207 316)
XYZxyz(32.8820, 19.8391, 64.3718)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B150D4 #73D450
analogous
#6F50D4 #B150D4 #D450B5
triadic
#B150D4 #D4B150 #50D4B1
tetradic
#B150D4 #D46F50 #73D450 #50B5D4
square
#B150D4 #D46F50 #73D450 #50B5D4
split-complementary
#B150D4 #B5D450 #50D46F
monochromatic
#6D2188 #942EB9 #B150D4 #C781E0 #DDB2EC

Accessibility & contrast

On white

4.23
#B150D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B150D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B150D4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B150D4#FFFFFF#000000##000000
##B150D41.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2375D8
Deuteranopia (green-blind)
#507ED1
Tritanopia (blue-blind)
#AF688B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b150d4;
/* rgb */ color: rgb(177, 80, 212);
/* oklch */ color: oklch(60.9% 0.207 316.0);
Tailwind
colors: {
  custom: {
    50: '#cc87e2',
    500: '#b150d4',
    950: '#000000',
  },
}
SCSS
$custom: #b150d4;
$custom-light: #cc87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b150d4",
  "rgb": {
    "r": 177,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 284.091,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6088,
    "c": 0.2066,
    "h": 316
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#B150D4
secondary
#B3DBA5
accent
#E4446E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B150D4

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

Preview Lab → · Contrast checker → · Palette generator →

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