#B123A1#B123A1

#B123A1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.217 H 333.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B123A1
RGBrgb(177, 35, 161)
HSLhsl(307, 67%, 42%)
HSVhsv(307, 80%, 69%)
CMYKcmyk(0%, 80.2%, 9%, 30.6%)
CIE-LABlab(42.95, 66.97, -35.26)
CIE-LCHlch(42.95, 75.68, 332.23°)
OKLaboklab(53.71% 0.194 -0.0968)
OKLCHoklch(53.71% 0.217 333.5)
XYZxyz(25.1657, 13.1246, 34.9192)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B123A1 #23B133
analogous
#7A23B1 #B123A1 #B1235A
triadic
#B123A1 #A1B123 #23A1B1
tetradic
#B123A1 #B17A23 #23B133 #235AB1
square
#B123A1 #B17A23 #23B133 #235AB1
split-complementary
#B123A1 #5AB123 #23B17A
monochromatic
#4B0F44 #7E1973 #B123A1 #D839C6 #E26CD5

Accessibility & contrast

On white

5.79
#B123A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B123A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B123A1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B123A1#FFFFFF#000000##FFFFFF
##B123A11.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A4
Deuteranopia (green-blind)
#576C9E
Tritanopia (blue-blind)
#B93462
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b123a1;
/* rgb */ color: rgb(177, 35, 161);
/* oklch */ color: oklch(53.7% 0.217 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc70bd',
    500: '#b123a1',
    950: '#000000',
  },
}
SCSS
$custom: #b123a1;
$custom-light: #cc70bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b123a1",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 306.761,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.21679,
    "h": 333.5
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#B123A1
secondary
#68C872
accent
#EA513E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B123A1

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

Preview Lab → · Contrast checker → · Palette generator →

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