#B125A8#B125A8

#B125A8 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.220 H 331.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B125A8
RGBrgb(177, 37, 168)
HSLhsl(304, 65%, 42%)
HSVhsv(304, 79%, 69%)
CMYKcmyk(0%, 79.1%, 5.1%, 30.6%)
CIE-LABlab(43.51, 67.50, -38.56)
CIE-LCHlch(43.51, 77.74, 330.26°)
OKLaboklab(54.23% 0.1926 -0.1064)
OKLCHoklch(54.23% 0.22 331.1)
XYZxyz(25.8609, 13.4995, 38.2818)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125A8 #25B12E
analogous
#7425B1 #B125A8 #B12562
triadic
#B125A8 #A8B125 #25A8B1
tetradic
#B125A8 #B17425 #25B12E #2562B1
square
#B125A8 #B17425 #25B12E #2562B1
split-complementary
#B125A8 #62B125 #25B174
monochromatic
#4C1048 #7E1A78 #B125A8 #D63DCD #E16FDA

Accessibility & contrast

On white

5.68
#B125A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B125A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125A8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125A8#FFFFFF#000000##FFFFFF
##B125A81.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125BAB
Deuteranopia (green-blind)
#546DA5
Tritanopia (blue-blind)
#B83966
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b125a8;
/* rgb */ color: rgb(177, 37, 168);
/* oklch */ color: oklch(54.2% 0.220 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc71c2',
    500: '#b125a8',
    950: '#000000',
  },
}
SCSS
$custom: #b125a8;
$custom-light: #cc71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b125a8",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 303.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54226,
    "c": 0.22001,
    "h": 331.1
  },
  "luminance": 0.13497
}

Semantic roles & 50–950 ramp

primary
#B125A8
secondary
#6AC870
accent
#E84A3F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B125A8

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

Preview Lab → · Contrast checker → · Palette generator →

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