#B123AA#B123AA

#B123AA is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.223 H 330.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B123AA
RGBrgb(177, 35, 170)
HSLhsl(303, 67%, 42%)
HSVhsv(303, 80%, 69%)
CMYKcmyk(0%, 80.2%, 4%, 30.6%)
CIE-LABlab(43.44, 68.32, -39.86)
CIE-LCHlch(43.44, 79.10, 329.74°)
OKLaboklab(54.21% 0.194 -0.1102)
OKLCHoklch(54.21% 0.223 330.4)
XYZxyz(25.9881, 13.4536, 39.2505)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B123AA #23B12A
analogous
#7123B1 #B123AA #B12363
triadic
#B123AA #AAB123 #23AAB1
tetradic
#B123AA #B17123 #23B12A #2363B1
square
#B123AA #B17123 #23B12A #2363B1
split-complementary
#B123AA #63B123 #23B171
monochromatic
#4B0F48 #7E1979 #B123AA #D839D0 #E26CDC

Accessibility & contrast

On white

5.69
#B123AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B123AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B123AA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B123AA#FFFFFF#000000##FFFFFF
##B123AA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085BAD
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#B83967
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b123aa;
/* rgb */ color: rgb(177, 35, 170);
/* oklch */ color: oklch(54.2% 0.223 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc71c4',
    500: '#b123aa',
    950: '#000000',
  },
}
SCSS
$custom: #b123aa;
$custom-light: #cc71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b123aa",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 302.958,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.22312,
    "h": 330.4
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#B123AA
secondary
#68C86C
accent
#EA463E
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B123AA

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

Preview Lab → · Contrast checker → · Palette generator →

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