#B123A6#B123A6

#B123A6 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.220 H 331.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B123A6
RGBrgb(177, 35, 166)
HSLhsl(305, 67%, 42%)
HSVhsv(305, 80%, 69%)
CMYKcmyk(0%, 80.2%, 6.2%, 30.6%)
CIE-LABlab(43.22, 67.71, -37.83)
CIE-LCHlch(43.22, 77.56, 330.81°)
OKLaboklab(53.99% 0.1941 -0.1043)
OKLCHoklch(53.99% 0.22 331.8)
XYZxyz(25.6155, 13.3045, 37.2879)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B123A6 #23B12E
analogous
#7523B1 #B123A6 #B1235F
triadic
#B123A6 #A6B123 #23A6B1
tetradic
#B123A6 #B17523 #23B12E #235FB1
square
#B123A6 #B17523 #23B12E #235FB1
split-complementary
#B123A6 #5FB123 #23B175
monochromatic
#4B0F46 #7E1976 #B123A6 #D839CC #E26CD9

Accessibility & contrast

On white

5.74
#B123A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B123A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B123A6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B123A6#FFFFFF#000000##FFFFFF
##B123A61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135AA9
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#B93665
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b123a6;
/* rgb */ color: rgb(177, 35, 166);
/* oklch */ color: oklch(54.0% 0.220 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc70c1',
    500: '#b123a6',
    950: '#000000',
  },
}
SCSS
$custom: #b123a6;
$custom-light: #cc70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b123a6",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 304.648,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.22029,
    "h": 331.8
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#B123A6
secondary
#68C86F
accent
#EA4B3E
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B123A6

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

Preview Lab → · Contrast checker → · Palette generator →

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