#B125B0#B125B0

#B125B0 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.226 H 328.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B125B0
RGBrgb(177, 37, 176)
HSLhsl(300, 65%, 42%)
HSVhsv(300, 79%, 69%)
CMYKcmyk(0%, 79.1%, 0.6%, 30.6%)
CIE-LABlab(43.95, 68.75, -42.60)
CIE-LCHlch(43.95, 80.87, 328.22°)
OKLaboklab(54.69% 0.1924 -0.1181)
OKLCHoklch(54.69% 0.226 328.5)
XYZxyz(26.6292, 13.8069, 42.3283)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125B0 #25B126
analogous
#6C25B1 #B125B0 #B1256A
triadic
#B125B0 #B0B125 #25B0B1
tetradic
#B125B0 #B16C25 #25B126 #256AB1
square
#B125B0 #B16C25 #25B126 #256AB1
split-complementary
#B125B0 #6AB125 #25B16C
monochromatic
#4C104B #7E1A7E #B125B0 #D63DD5 #E16FE0

Accessibility & contrast

On white

5.58
#B125B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B125B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125B0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125B0#FFFFFF#000000##FFFFFF
##B125B01.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#B73D6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b125b0;
/* rgb */ color: rgb(177, 37, 176);
/* oklch */ color: oklch(54.7% 0.226 328.5);
Tailwind
colors: {
  custom: {
    50: '#cc71c8',
    500: '#b125b0',
    950: '#000000',
  },
}
SCSS
$custom: #b125b0;
$custom-light: #cc71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b125b0",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 300.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.22578,
    "h": 328.5
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#B125B0
secondary
#6AC86B
accent
#E8413F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B125B0

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

Preview Lab → · Contrast checker → · Palette generator →

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