#B124A1#B124A1

#B124A1 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.216 H 333.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B124A1
RGBrgb(177, 36, 161)
HSLhsl(307, 66%, 42%)
HSVhsv(307, 80%, 69%)
CMYKcmyk(0%, 79.7%, 9%, 30.6%)
CIE-LABlab(43.04, 66.71, -35.12)
CIE-LCHlch(43.04, 75.39, 332.24°)
OKLaboklab(53.77% 0.1932 -0.0964)
OKLCHoklch(53.77% 0.216 333.5)
XYZxyz(25.1956, 13.1843, 34.9292)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B124A1 #24B134
analogous
#7B24B1 #B124A1 #B1245A
triadic
#B124A1 #A1B124 #24A1B1
tetradic
#B124A1 #B17B24 #24B134 #245AB1
square
#B124A1 #B17B24 #24B134 #245AB1
split-complementary
#B124A1 #5AB124 #24B17B
monochromatic
#4B0F44 #7E1A73 #B124A1 #D73BC5 #E16ED4

Accessibility & contrast

On white

5.77
#B124A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B124A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B124A1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B124A1#FFFFFF#000000##FFFFFF
##B124A11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A4
Deuteranopia (green-blind)
#576D9E
Tritanopia (blue-blind)
#B93462
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b124a1;
/* rgb */ color: rgb(177, 36, 161);
/* oklch */ color: oklch(53.8% 0.216 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc70bd',
    500: '#b124a1',
    950: '#000000',
  },
}
SCSS
$custom: #b124a1;
$custom-light: #cc70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b124a1",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 306.809,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.21594,
    "h": 333.5
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#B124A1
secondary
#69C874
accent
#E9523F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B124A1

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

Preview Lab → · Contrast checker → · Palette generator →

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