#B125A3#B125A3

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

Color values

HEX#B125A3
RGBrgb(177, 37, 163)
HSLhsl(306, 65%, 42%)
HSVhsv(306, 79%, 69%)
CMYKcmyk(0%, 79.1%, 7.9%, 30.6%)
CIE-LABlab(43.24, 66.74, -36.00)
CIE-LCHlch(43.24, 75.84, 331.66°)
OKLaboklab(53.95% 0.1925 -0.099)
OKLCHoklch(53.95% 0.216 332.8)
XYZxyz(25.4040, 13.3168, 35.8757)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125A3 #25B133
analogous
#7925B1 #B125A3 #B1255D
triadic
#B125A3 #A3B125 #25A3B1
tetradic
#B125A3 #B17925 #25B133 #255DB1
square
#B125A3 #B17925 #25B133 #255DB1
split-complementary
#B125A3 #5DB125 #25B179
monochromatic
#4C1046 #7E1A74 #B125A3 #D63DC7 #E16FD6

Accessibility & contrast

On white

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

On black

3.66
#B125A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B125A3#FFFFFF#000000##FFFFFF
##B125A31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA6
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#B93664
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b125a3;
/* rgb */ color: rgb(177, 37, 163);
/* oklch */ color: oklch(53.9% 0.216 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc71bf',
    500: '#b125a3',
    950: '#000000',
  },
}
SCSS
$custom: #b125a3;
$custom-light: #cc71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b125a3",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 306,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.21646,
    "h": 332.8
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#B125A3
secondary
#6AC873
accent
#E8503F
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B125A3

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

Preview Lab → · Contrast checker → · Palette generator →

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