#B125B1#B125B1

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

Color values

HEX#B125B1
RGBrgb(177, 37, 177)
HSLhsl(300, 65%, 42%)
HSVhsv(300, 79%, 69%)
CMYKcmyk(0%, 79.1%, 0%, 30.6%)
CIE-LABlab(44.01, 68.91, -43.10)
CIE-LCHlch(44.01, 81.27, 327.98°)
OKLaboklab(54.75% 0.1924 -0.1196)
OKLCHoklch(54.75% 0.227 328.1)
XYZxyz(26.7285, 13.8466, 42.8513)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125B1 #25B125
analogous
#6B25B1 #B125B1 #B1256B
triadic
#B125B1 #B1B125 #25B1B1
tetradic
#B125B1 #B16B25 #25B125 #256BB1
square
#B125B1 #B16B25 #25B125 #256BB1
split-complementary
#B125B1 #6BB125 #25B16B
monochromatic
#4C104C #7E1A7E #B125B1 #D63DD6 #E16FE1

Accessibility & contrast

On white

5.57
#B125B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B125B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125B1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125B1#FFFFFF#000000##FFFFFF
##B125B11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#4F6EAE
Tritanopia (blue-blind)
#B73E6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b125b1;
/* rgb */ color: rgb(177, 37, 177);
/* oklch */ color: oklch(54.7% 0.227 328.1);
Tailwind
colors: {
  custom: {
    50: '#cc72c9',
    500: '#b125b1',
    950: '#000000',
  },
}
SCSS
$custom: #b125b1;
$custom-light: #cc72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b125b1",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 300,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54749,
    "c": 0.22652,
    "h": 328.1
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#B125B1
secondary
#6AC86A
accent
#E83F3F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B125B1

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

Preview Lab → · Contrast checker → · Palette generator →

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