#B124BC#B124BC

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

Color values

HEX#B124BC
RGBrgb(177, 36, 188)
HSLhsl(296, 68%, 44%)
HSVhsv(296, 81%, 74%)
CMYKcmyk(5.9%, 80.9%, 0%, 26.3%)
CIE-LABlab(44.58, 70.94, -48.66)
CIE-LCHlch(44.58, 86.03, 325.55°)
OKLaboklab(55.36% 0.1924 -0.1358)
OKLCHoklch(55.36% 0.235 324.8)
XYZxyz(27.8387, 14.2416, 48.8498)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B124BC #2FBC24
analogous
#6524BC #B124BC #BC247B
triadic
#B124BC #BCB124 #24BCB1
tetradic
#B124BC #BC6524 #2FBC24 #247BBC
square
#B124BC #BC6524 #2FBC24 #247BBC
split-complementary
#B124BC #7BBC24 #24BC65
monochromatic
#501055 #811A89 #B124BC #D042DB #DD76E5

Accessibility & contrast

On white

5.46
#B124BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B124BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B124BC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B124BC#FFFFFF#000000##FFFFFF
##B124BC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#B54372
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b124bc;
/* rgb */ color: rgb(177, 36, 188);
/* oklch */ color: oklch(55.4% 0.235 324.8);
Tailwind
colors: {
  custom: {
    50: '#cd72d1',
    500: '#b124bc',
    950: '#000000',
  },
}
SCSS
$custom: #b124bc;
$custom-light: #cd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b124bc",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 295.658,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.23548,
    "h": 324.8
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#B124BC
secondary
#76CC70
accent
#EB3D4A
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B124BC

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

Preview Lab → · Contrast checker → · Palette generator →

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