#B125B2#B125B2

#B125B2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.227 H 327.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B125B2
RGBrgb(177, 37, 178)
HSLhsl(300, 66%, 42%)
HSVhsv(300, 79%, 70%)
CMYKcmyk(0.6%, 79.2%, 0%, 30.2%)
CIE-LABlab(44.07, 69.07, -43.59)
CIE-LCHlch(44.07, 81.67, 327.74°)
OKLaboklab(54.81% 0.1923 -0.121)
OKLCHoklch(54.81% 0.227 327.8)
XYZxyz(26.8286, 13.8866, 43.3782)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125B2 #26B225
analogous
#6A25B2 #B125B2 #B2256D
triadic
#B125B2 #B2B125 #25B2B1
tetradic
#B125B2 #B26A25 #26B225 #256DB2
square
#B125B2 #B26A25 #26B225 #256DB2
split-complementary
#B125B2 #6DB225 #25B26A
monochromatic
#4C104D #7F1A7F #B125B2 #D63DD7 #E070E1

Accessibility & contrast

On white

5.56
#B125B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B125B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125B2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125B2#FFFFFF#000000##FFFFFF
##B125B21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#B73E6C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b125b2;
/* rgb */ color: rgb(177, 37, 178);
/* oklch */ color: oklch(54.8% 0.227 327.8);
Tailwind
colors: {
  custom: {
    50: '#cc72c9',
    500: '#b125b2',
    950: '#000000',
  },
}
SCSS
$custom: #b125b2;
$custom-light: #cc72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b125b2",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 299.574,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.22725,
    "h": 327.8
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#B125B2
secondary
#6BC86B
accent
#E93F40
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B125B2

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

Preview Lab → · Contrast checker → · Palette generator →

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