#B124B1#B124B1

#B124B1 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.227 H 328.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B124B1
RGBrgb(177, 36, 177)
HSLhsl(300, 66%, 42%)
HSVhsv(300, 80%, 69%)
CMYKcmyk(0%, 79.7%, 0%, 30.6%)
CIE-LABlab(43.92, 69.16, -43.24)
CIE-LCHlch(43.92, 81.57, 327.99°)
OKLaboklab(54.69% 0.1931 -0.12)
OKLCHoklch(54.69% 0.227 328.1)
XYZxyz(26.6978, 13.7852, 42.8411)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B124B1 #24B124
analogous
#6B24B1 #B124B1 #B1246B
triadic
#B124B1 #B1B124 #24B1B1
tetradic
#B124B1 #B16B24 #24B124 #246BB1
square
#B124B1 #B16B24 #24B124 #246BB1
split-complementary
#B124B1 #6BB124 #24B16B
monochromatic
#4B0F4B #7E1A7E #B124B1 #D73BD7 #E16EE1

Accessibility & contrast

On white

5.59
#B124B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B124B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B124B1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B124B1#FFFFFF#000000##FFFFFF
##B124B11.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#B73D6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b124b1;
/* rgb */ color: rgb(177, 36, 177);
/* oklch */ color: oklch(54.7% 0.227 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc71c9',
    500: '#b124b1',
    950: '#000000',
  },
}
SCSS
$custom: #b124b1;
$custom-light: #cc71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b124b1",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 300,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.22735,
    "h": 328.1
  },
  "luminance": 0.13783
}

Semantic roles & 50–950 ramp

primary
#B124B1
secondary
#69C869
accent
#E93F3F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B124B1

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

Preview Lab → · Contrast checker → · Palette generator →

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