#B23AA3#B23AA3

#B23AA3 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.8% C 0.194 H 333.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B23AA3
RGBrgb(178, 58, 163)
HSLhsl(308, 51%, 46%)
HSVhsv(308, 67%, 70%)
CMYKcmyk(0%, 67.4%, 8.4%, 30.2%)
CIE-LABlab(45.82, 60.10, -31.92)
CIE-LCHlch(45.82, 68.05, 332.02°)
OKLaboklab(55.84% 0.1734 -0.0874)
OKLCHoklch(55.84% 0.194 333.3)
XYZxyz(26.4841, 15.1376, 36.1702)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AA3 #3AB249
analogous
#853AB2 #B23AA3 #B23A67
triadic
#B23AA3 #A3B23A #3AA3B2
tetradic
#B23AA3 #B2853A #3AB249 #3A67B2
square
#B23AA3 #B2853A #3AB249 #3A67B2
split-complementary
#B23AA3 #67B23A #3AB285
monochromatic
#561C4E #842B79 #B23AA3 #CB5FBD #DA8DD0

Accessibility & contrast

On white

5.21
#B23AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B23AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AA3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AA3#FFFFFF#000000##FFFFFF
##B23AA31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#BA4469
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b23aa3;
/* rgb */ color: rgb(178, 58, 163);
/* oklch */ color: oklch(55.8% 0.194 333.3);
Tailwind
colors: {
  custom: {
    50: '#cc7abe',
    500: '#b23aa3',
    950: '#000000',
  },
}
SCSS
$custom: #b23aa3;
$custom-light: #cc7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#b23aa3",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 307.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.19419,
    "h": 333.3
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#B23AA3
secondary
#83C48C
accent
#DA5F4D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B23AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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