#B123AC#B123AC

#B123AC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.225 H 329.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B123AC
RGBrgb(177, 35, 172)
HSLhsl(302, 67%, 42%)
HSVhsv(302, 80%, 69%)
CMYKcmyk(0%, 80.2%, 2.8%, 30.6%)
CIE-LABlab(43.55, 68.63, -40.87)
CIE-LCHlch(43.55, 79.88, 329.23°)
OKLaboklab(54.33% 0.194 -0.1131)
OKLCHoklch(54.33% 0.225 329.8)
XYZxyz(26.1787, 13.5298, 40.2545)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B123AC #23B128
analogous
#6F23B1 #B123AC #B12365
triadic
#B123AC #ACB123 #23ACB1
tetradic
#B123AC #B16F23 #23B128 #2365B1
square
#B123AC #B16F23 #23B128 #2365B1
split-complementary
#B123AC #65B123 #23B16F
monochromatic
#4B0F49 #7E197A #B123AC #D839D2 #E26CDE

Accessibility & contrast

On white

5.67
#B123AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B123AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B123AC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B123AC#FFFFFF#000000##FFFFFF
##B123AC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#516DA9
Tritanopia (blue-blind)
#B83A68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b123ac;
/* rgb */ color: rgb(177, 35, 172);
/* oklch */ color: oklch(54.3% 0.225 329.8);
Tailwind
colors: {
  custom: {
    50: '#cc71c5',
    500: '#b123ac',
    950: '#000000',
  },
}
SCSS
$custom: #b123ac;
$custom-light: #cc71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b123ac",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 302.113,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.22455,
    "h": 329.8
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#B123AC
secondary
#68C86B
accent
#EA443E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B123AC

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

Preview Lab → · Contrast checker → · Palette generator →

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