#B23BB5#B23BB5

#B23BB5 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.207 H 326.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B23BB5
RGBrgb(178, 59, 181)
HSLhsl(299, 51%, 47%)
HSVhsv(299, 67%, 71%)
CMYKcmyk(1.7%, 67.4%, 0%, 29%)
CIE-LABlab(46.88, 62.68, -40.88)
CIE-LCHlch(46.88, 74.84, 326.89°)
OKLaboklab(56.91% 0.1734 -0.1132)
OKLCHoklch(56.91% 0.207 326.9)
XYZxyz(28.2641, 15.9310, 45.2934)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BB5 #3EB53B
analogous
#753BB5 #B23BB5 #B53B7B
triadic
#B23BB5 #B5B23B #3BB5B2
tetradic
#B23BB5 #B5753B #3EB53B #3B7BB5
square
#B23BB5 #B5753B #3EB53B #3B7BB5
split-complementary
#B23BB5 #7BB53B #3BB575
monochromatic
#571D59 #852C87 #B23BB5 #C962CC #D990DB

Accessibility & contrast

On white

5.02
#B23BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B23BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BB5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BB5#FFFFFF#000000##FFFFFF
##B23BB51.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B9
Deuteranopia (green-blind)
#5774B2
Tritanopia (blue-blind)
#B74D73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23bb5;
/* rgb */ color: rgb(178, 59, 181);
/* oklch */ color: oklch(56.9% 0.207 326.9);
Tailwind
colors: {
  custom: {
    50: '#cc7bcb',
    500: '#b23bb5',
    950: '#000000',
  },
}
SCSS
$custom: #b23bb5;
$custom-light: #cc7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bb5",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 298.525,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56907,
    "c": 0.20711,
    "h": 326.9
  },
  "luminance": 0.15929
}

Semantic roles & 50–950 ramp

primary
#B23BB5
secondary
#88C686
accent
#DA4D51
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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