#B125A7#B125A7

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

Color values

HEX#B125A7
RGBrgb(177, 37, 167)
HSLhsl(304, 65%, 42%)
HSVhsv(304, 79%, 69%)
CMYKcmyk(0%, 79.1%, 5.6%, 30.6%)
CIE-LABlab(43.45, 67.35, -38.05)
CIE-LCHlch(43.45, 77.36, 330.53°)
OKLaboklab(54.17% 0.1926 -0.1049)
OKLCHoklch(54.17% 0.219 331.4)
XYZxyz(25.7681, 13.4624, 37.7931)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125A7 #25B12F
analogous
#7525B1 #B125A7 #B12561
triadic
#B125A7 #A7B125 #25A7B1
tetradic
#B125A7 #B17525 #25B12F #2561B1
square
#B125A7 #B17525 #25B12F #2561B1
split-complementary
#B125A7 #61B125 #25B175
monochromatic
#4C1047 #7E1A77 #B125A7 #D63DCB #E16FD9

Accessibility & contrast

On white

5.69
#B125A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B125A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125A7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125A7#FFFFFF#000000##FFFFFF
##B125A71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155AAA
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#B83866
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b125a7;
/* rgb */ color: rgb(177, 37, 167);
/* oklch */ color: oklch(54.2% 0.219 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc71c1',
    500: '#b125a7',
    950: '#000000',
  },
}
SCSS
$custom: #b125a7;
$custom-light: #cc71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b125a7",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 304.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5417,
    "c": 0.21928,
    "h": 331.4
  },
  "luminance": 0.1346
}

Semantic roles & 50–950 ramp

primary
#B125A7
secondary
#6AC871
accent
#E84B3F
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B125A7

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

Preview Lab → · Contrast checker → · Palette generator →

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