#B124A5#B124A5

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

Color values

HEX#B124A5
RGBrgb(177, 36, 165)
HSLhsl(305, 66%, 42%)
HSVhsv(305, 80%, 69%)
CMYKcmyk(0%, 79.7%, 6.8%, 30.6%)
CIE-LABlab(43.25, 67.31, -37.17)
CIE-LCHlch(43.25, 76.89, 331.09°)
OKLaboklab(53.99% 0.1933 -0.1024)
OKLCHoklch(53.99% 0.219 332.1)
XYZxyz(25.5540, 13.3277, 36.8167)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B124A5 #24B130
analogous
#7624B1 #B124A5 #B1245F
triadic
#B124A5 #A5B124 #24A5B1
tetradic
#B124A5 #B17624 #24B130 #245FB1
square
#B124A5 #B17624 #24B130 #245FB1
split-complementary
#B124A5 #5FB124 #24B176
monochromatic
#4B0F46 #7E1A76 #B124A5 #D73BCA #E16ED8

Accessibility & contrast

On white

5.73
#B124A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B124A5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B124A5#FFFFFF#000000##FFFFFF
##B124A51.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA8
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#B93664
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b124a5;
/* rgb */ color: rgb(177, 36, 165);
/* oklch */ color: oklch(54.0% 0.219 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc71c0',
    500: '#b124a5',
    950: '#000000',
  },
}
SCSS
$custom: #b124a5;
$custom-light: #cc71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b124a5",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 305.106,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.21873,
    "h": 332.1
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

primary
#B124A5
secondary
#69C871
accent
#E94D3F
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B124A5

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

Preview Lab → · Contrast checker → · Palette generator →

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