#B125A2#B125A2

#B125A2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.216 H 333.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B125A2
RGBrgb(177, 37, 162)
HSLhsl(306, 65%, 42%)
HSVhsv(306, 79%, 69%)
CMYKcmyk(0%, 79.1%, 8.5%, 30.6%)
CIE-LABlab(43.18, 66.60, -35.49)
CIE-LCHlch(43.18, 75.46, 331.95°)
OKLaboklab(53.89% 0.1925 -0.0975)
OKLCHoklch(53.89% 0.216 333.1)
XYZxyz(25.3148, 13.2811, 35.4057)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125A2 #25B134
analogous
#7A25B1 #B125A2 #B1255C
triadic
#B125A2 #A2B125 #25A2B1
tetradic
#B125A2 #B17A25 #25B134 #255CB1
square
#B125A2 #B17A25 #25B134 #255CB1
split-complementary
#B125A2 #5CB125 #25B17A
monochromatic
#4C1045 #7E1A74 #B125A2 #D63DC6 #E16FD5

Accessibility & contrast

On white

5.74
#B125A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B125A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125A2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125A2#FFFFFF#000000##FFFFFF
##B125A21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#B93563
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b125a2;
/* rgb */ color: rgb(177, 37, 162);
/* oklch */ color: oklch(53.9% 0.216 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc71be',
    500: '#b125a2',
    950: '#000000',
  },
}
SCSS
$custom: #b125a2;
$custom-light: #cc71be;
$custom-dark: #000000;
JSON
{
  "hex": "#b125a2",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 306.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53892,
    "c": 0.21576,
    "h": 333.1
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#B125A2
secondary
#6AC874
accent
#E8523F
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B125A2

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

Preview Lab → · Contrast checker → · Palette generator →

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