#B124A7#B124A7

#B124A7 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.220 H 331.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B124A7
RGBrgb(177, 36, 167)
HSLhsl(304, 66%, 42%)
HSVhsv(304, 80%, 69%)
CMYKcmyk(0%, 79.7%, 5.6%, 30.6%)
CIE-LABlab(43.36, 67.61, -38.20)
CIE-LCHlch(43.36, 77.65, 330.54°)
OKLaboklab(54.11% 0.1933 -0.1053)
OKLCHoklch(54.11% 0.22 331.4)
XYZxyz(25.7374, 13.4010, 37.7829)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B124A7 #24B12E
analogous
#7524B1 #B124A7 #B12461
triadic
#B124A7 #A7B124 #24A7B1
tetradic
#B124A7 #B17524 #24B12E #2461B1
square
#B124A7 #B17524 #24B12E #2461B1
split-complementary
#B124A7 #61B124 #24B175
monochromatic
#4B0F47 #7E1A77 #B124A7 #D73BCC #E16ED9

Accessibility & contrast

On white

5.71
#B124A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B124A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B124A7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B124A7#FFFFFF#000000##FFFFFF
##B124A71.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135AAA
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#B83866
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b124a7;
/* rgb */ color: rgb(177, 36, 167);
/* oklch */ color: oklch(54.1% 0.220 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc71c1',
    500: '#b124a7',
    950: '#000000',
  },
}
SCSS
$custom: #b124a7;
$custom-light: #cc71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b124a7",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 304.255,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.22015,
    "h": 331.4
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#B124A7
secondary
#69C870
accent
#E94B3F
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B124A7

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

Preview Lab → · Contrast checker → · Palette generator →

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