#B124BD#B124BD

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

Color values

HEX#B124BD
RGBrgb(177, 36, 189)
HSLhsl(295, 68%, 44%)
HSVhsv(295, 81%, 74%)
CMYKcmyk(6.3%, 81%, 0%, 25.9%)
CIE-LABlab(44.64, 71.11, -49.15)
CIE-LCHlch(44.64, 86.44, 325.35°)
OKLaboklab(55.42% 0.1923 -0.1372)
OKLCHoklch(55.42% 0.236 324.5)
XYZxyz(27.9469, 14.2848, 49.4195)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B124BD #30BD24
analogous
#6524BD #B124BD #BD247D
triadic
#B124BD #BDB124 #24BDB1
tetradic
#B124BD #BD6524 #30BD24 #247DBD
square
#B124BD #BD6524 #30BD24 #247DBD
split-complementary
#B124BD #7DBD24 #24BD65
monochromatic
#511056 #811A8A #B124BD #CF43DB #DC76E5

Accessibility & contrast

On white

5.45
#B124BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B124BD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B124BD#FFFFFF#000000##FFFFFF
##B124BD1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#B54472
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b124bd;
/* rgb */ color: rgb(177, 36, 189);
/* oklch */ color: oklch(55.4% 0.236 324.5);
Tailwind
colors: {
  custom: {
    50: '#cd72d1',
    500: '#b124bd',
    950: '#000000',
  },
}
SCSS
$custom: #b124bd;
$custom-light: #cd72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b124bd",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 295.294,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.23623,
    "h": 324.5
  },
  "luminance": 0.14283
}

Semantic roles & 50–950 ramp

primary
#B124BD
secondary
#78CC70
accent
#EB3D4B
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B124BD

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

Preview Lab → · Contrast checker → · Palette generator →

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