#B125A5#B125A5

#B125A5 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.218 H 332.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B125A5
RGBrgb(177, 37, 165)
HSLhsl(305, 65%, 42%)
HSVhsv(305, 79%, 69%)
CMYKcmyk(0%, 79.1%, 6.8%, 30.6%)
CIE-LABlab(43.34, 67.05, -37.03)
CIE-LCHlch(43.34, 76.59, 331.09°)
OKLaboklab(54.06% 0.1925 -0.102)
OKLCHoklch(54.06% 0.218 332.1)
XYZxyz(25.5846, 13.3890, 36.8269)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125A5 #25B131
analogous
#7725B1 #B125A5 #B1255F
triadic
#B125A5 #A5B125 #25A5B1
tetradic
#B125A5 #B17725 #25B131 #255FB1
square
#B125A5 #B17725 #25B131 #255FB1
split-complementary
#B125A5 #5FB125 #25B177
monochromatic
#4C1047 #7E1A76 #B125A5 #D63DC9 #E16FD7

Accessibility & contrast

On white

5.71
#B125A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B125A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125A5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125A5#FFFFFF#000000##FFFFFF
##B125A51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b125a5;
/* rgb */ color: rgb(177, 37, 165);
/* oklch */ color: oklch(54.1% 0.218 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc71c0',
    500: '#b125a5',
    950: '#000000',
  },
}
SCSS
$custom: #b125a5;
$custom-light: #cc71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b125a5",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 305.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.21787,
    "h": 332.1
  },
  "luminance": 0.13387
}

Semantic roles & 50–950 ramp

primary
#B125A5
secondary
#6AC872
accent
#E84E3F
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B125A5

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

Preview Lab → · Contrast checker → · Palette generator →

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