#B125A9#B125A9

#B125A9 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.221 H 330.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B125A9
RGBrgb(177, 37, 169)
HSLhsl(303, 65%, 42%)
HSVhsv(303, 79%, 69%)
CMYKcmyk(0%, 79.1%, 4.5%, 30.6%)
CIE-LABlab(43.56, 67.66, -39.07)
CIE-LCHlch(43.56, 78.13, 329.99°)
OKLaboklab(54.28% 0.1926 -0.1079)
OKLCHoklch(54.28% 0.221 330.7)
XYZxyz(25.9544, 13.5369, 38.7743)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125A9 #25B12D
analogous
#7325B1 #B125A9 #B12563
triadic
#B125A9 #A9B125 #25A9B1
tetradic
#B125A9 #B17325 #25B12D #2563B1
square
#B125A9 #B17325 #25B12D #2563B1
split-complementary
#B125A9 #63B125 #25B173
monochromatic
#4C1048 #7E1A79 #B125A9 #D63DCE #E16FDA

Accessibility & contrast

On white

5.66
#B125A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B125A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125A9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125A9#FFFFFF#000000##FFFFFF
##B125A91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#536DA6
Tritanopia (blue-blind)
#B83967
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b125a9;
/* rgb */ color: rgb(177, 37, 169);
/* oklch */ color: oklch(54.3% 0.221 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc71c3',
    500: '#b125a9',
    950: '#000000',
  },
}
SCSS
$custom: #b125a9;
$custom-light: #cc71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b125a9",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 303.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.22071,
    "h": 330.7
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#B125A9
secondary
#6AC86F
accent
#E8493F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B125A9

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

Preview Lab → · Contrast checker → · Palette generator →

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