#B124A6#B124A6

#B124A6 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.219 H 331.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B124A6
RGBrgb(177, 36, 166)
HSLhsl(305, 66%, 42%)
HSVhsv(305, 80%, 69%)
CMYKcmyk(0%, 79.7%, 6.2%, 30.6%)
CIE-LABlab(43.31, 67.46, -37.69)
CIE-LCHlch(43.31, 77.27, 330.81°)
OKLaboklab(54.05% 0.1933 -0.1039)
OKLCHoklch(54.05% 0.219 331.8)
XYZxyz(25.6453, 13.3642, 37.2979)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B124A6 #24B12F
analogous
#7624B1 #B124A6 #B12460
triadic
#B124A6 #A6B124 #24A6B1
tetradic
#B124A6 #B17624 #24B12F #2460B1
square
#B124A6 #B17624 #24B12F #2460B1
split-complementary
#B124A6 #60B124 #24B176
monochromatic
#4B0F47 #7E1A76 #B124A6 #D73BCB #E16ED8

Accessibility & contrast

On white

5.72
#B124A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B124A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B124A6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B124A6#FFFFFF#000000##FFFFFF
##B124A61.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155AA9
Deuteranopia (green-blind)
#556DA3
Tritanopia (blue-blind)
#B93765
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b124a6;
/* rgb */ color: rgb(177, 36, 166);
/* oklch */ color: oklch(54.0% 0.219 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc71c1',
    500: '#b124a6',
    950: '#000000',
  },
}
SCSS
$custom: #b124a6;
$custom-light: #cc71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b124a6",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 304.681,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.21944,
    "h": 331.8
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#B124A6
secondary
#69C870
accent
#E94C3F
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B124A6

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

Preview Lab → · Contrast checker → · Palette generator →

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