#B125A4#B125A4

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

Color values

HEX#B125A4
RGBrgb(177, 37, 164)
HSLhsl(306, 65%, 42%)
HSVhsv(306, 79%, 69%)
CMYKcmyk(0%, 79.1%, 7.3%, 30.6%)
CIE-LABlab(43.29, 66.89, -36.52)
CIE-LCHlch(43.29, 76.21, 331.37°)
OKLaboklab(54% 0.1925 -0.1005)
OKLCHoklch(54% 0.217 332.4)
XYZxyz(25.4940, 13.3528, 36.3494)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125A4 #25B132
analogous
#7825B1 #B125A4 #B1255E
triadic
#B125A4 #A4B125 #25A4B1
tetradic
#B125A4 #B17825 #25B132 #255EB1
square
#B125A4 #B17825 #25B132 #255EB1
split-complementary
#B125A4 #5EB125 #25B178
monochromatic
#4C1046 #7E1A75 #B125A4 #D63DC8 #E16FD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B125A4#FFFFFF#000000##FFFFFF
##B125A41.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)
#1A5AA7
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#B93664
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b125a4;
/* rgb */ color: rgb(177, 37, 164);
/* oklch */ color: oklch(54.0% 0.217 332.4);
Tailwind
colors: {
  custom: {
    50: '#cc71bf',
    500: '#b125a4',
    950: '#000000',
  },
}
SCSS
$custom: #b125a4;
$custom-light: #cc71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b125a4",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 305.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.21716,
    "h": 332.4
  },
  "luminance": 0.13351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B125A4

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

Preview Lab → · Contrast checker → · Palette generator →

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