#B125BC#B125BC

#B125BC is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.4% C 0.235 H 324.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B125BC
RGBrgb(177, 37, 188)
HSLhsl(296, 67%, 44%)
HSVhsv(296, 80%, 74%)
CMYKcmyk(5.9%, 80.3%, 0%, 26.3%)
CIE-LABlab(44.66, 70.69, -48.52)
CIE-LCHlch(44.66, 85.74, 325.53°)
OKLaboklab(55.42% 0.1917 -0.1354)
OKLCHoklch(55.42% 0.235 324.8)
XYZxyz(27.8694, 14.3029, 48.8600)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125BC #30BC25
analogous
#6625BC #B125BC #BC257C
triadic
#B125BC #BCB125 #25BCB1
tetradic
#B125BC #BC6625 #30BC25 #257CBC
square
#B125BC #BC6625 #30BC25 #257CBC
split-complementary
#B125BC #7CBC25 #25BC66
monochromatic
#511156 #811B89 #B125BC #CF44DA #DC77E4

Accessibility & contrast

On white

5.44
#B125BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B125BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125BC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125BC#FFFFFF#000000##FFFFFF
##B125BC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#B54472
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b125bc;
/* rgb */ color: rgb(177, 37, 188);
/* oklch */ color: oklch(55.4% 0.235 324.8);
Tailwind
colors: {
  custom: {
    50: '#cd72d1',
    500: '#b125bc',
    950: '#000000',
  },
}
SCSS
$custom: #b125bc;
$custom-light: #cd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b125bc",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 295.629,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55421,
    "c": 0.23468,
    "h": 324.8
  },
  "luminance": 0.14301
}

Semantic roles & 50–950 ramp

primary
#B125BC
secondary
#78CC71
accent
#EA3E4A
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B125BC

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

Preview Lab → · Contrast checker → · Palette generator →

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