#B125C6#B125C6

#B125C6 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 56.1% C 0.242 H 321.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B125C6
RGBrgb(177, 37, 198)
HSLhsl(292, 69%, 46%)
HSVhsv(292, 81%, 78%)
CMYKcmyk(10.6%, 81.3%, 0%, 22.4%)
CIE-LABlab(45.29, 72.37, -53.35)
CIE-LCHlch(45.29, 89.91, 323.60°)
OKLaboklab(56.06% 0.1906 -0.1495)
OKLCHoklch(56.06% 0.242 321.9)
XYZxyz(28.9850, 14.7492, 54.7353)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B125C6 #3AC625
analogous
#6025C6 #B125C6 #C6258A
triadic
#B125C6 #C6B125 #25C6B1
tetradic
#B125C6 #C66025 #3AC625 #258AC6
square
#B125C6 #C66025 #3AC625 #258AC6
split-complementary
#B125C6 #8AC625 #25C660
monochromatic
#55125F #831B92 #B125C6 #CA4BDD #D97EE7

Accessibility & contrast

On white

5.32
#B125C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B125C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B125C6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B125C6#FFFFFF#000000##FFFFFF
##B125C61.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#3E70C3
Tritanopia (blue-blind)
#B34978
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b125c6;
/* rgb */ color: rgb(177, 37, 198);
/* oklch */ color: oklch(56.1% 0.242 321.9);
Tailwind
colors: {
  custom: {
    50: '#cd72d8',
    500: '#b125c6',
    950: '#000000',
  },
}
SCSS
$custom: #b125c6;
$custom-light: #cd72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b125c6",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 292.174,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.24225,
    "h": 321.9
  },
  "luminance": 0.14747
}

Semantic roles & 50–950 ramp

primary
#B125C6
secondary
#83CF77
accent
#EB3C53
background
#FDF7FD
surface
#FAEDFA
border
#D3C8D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B125C6

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

Preview Lab → · Contrast checker → · Palette generator →

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