#B125A6#B125A6

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

Color values

HEX#B125A6
RGBrgb(177, 37, 166)
HSLhsl(305, 65%, 42%)
HSVhsv(305, 79%, 69%)
CMYKcmyk(0%, 79.1%, 6.2%, 30.6%)
CIE-LABlab(43.40, 67.20, -37.54)
CIE-LCHlch(43.40, 76.97, 330.81°)
OKLaboklab(54.11% 0.1925 -0.1034)
OKLCHoklch(54.11% 0.219 331.8)
XYZxyz(25.6760, 13.4256, 37.3081)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125A6 #25B130
analogous
#7625B1 #B125A6 #B12560
triadic
#B125A6 #A6B125 #25A6B1
tetradic
#B125A6 #B17625 #25B130 #2560B1
square
#B125A6 #B17625 #25B130 #2560B1
split-complementary
#B125A6 #60B125 #25B176
monochromatic
#4C1047 #7E1A77 #B125A6 #D63DCA #E16FD8

Accessibility & contrast

On white

5.70
#B125A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B125A6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125A6#FFFFFF#000000##FFFFFF
##B125A61.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA9
Deuteranopia (green-blind)
#556DA3
Tritanopia (blue-blind)
#B93865
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b125a6;
/* rgb */ color: rgb(177, 37, 166);
/* oklch */ color: oklch(54.1% 0.219 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc71c1',
    500: '#b125a6',
    950: '#000000',
  },
}
SCSS
$custom: #b125a6;
$custom-light: #cc71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b125a6",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 304.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.21857,
    "h": 331.8
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B125A6

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

Preview Lab → · Contrast checker → · Palette generator →

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