#B23BB7#B23BB7

#B23BB7 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.209 H 326.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B23BB7
RGBrgb(178, 59, 183)
HSLhsl(298, 51%, 47%)
HSVhsv(298, 68%, 72%)
CMYKcmyk(2.7%, 67.8%, 0%, 28.2%)
CIE-LABlab(46.99, 63.03, -41.88)
CIE-LCHlch(46.99, 75.67, 326.40°)
OKLaboklab(57.02% 0.1735 -0.1162)
OKLCHoklch(57.02% 0.209 326.2)
XYZxyz(28.4708, 16.0137, 46.3819)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BB7 #40B73B
analogous
#743BB7 #B23BB7 #B73B7E
triadic
#B23BB7 #B7B23B #3BB7B2
tetradic
#B23BB7 #B7743B #40B73B #3B7EB7
square
#B23BB7 #B7743B #40B73B #3B7EB7
split-complementary
#B23BB7 #7EB73B #3BB774
monochromatic
#581D5A #852C89 #B23BB7 #C863CD #D891DC

Accessibility & contrast

On white

5.00
#B23BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B23BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BB7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BB7#FFFFFF#000000##FFFFFF
##B23BB71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BB
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#B74E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23bb7;
/* rgb */ color: rgb(178, 59, 183);
/* oklch */ color: oklch(57.0% 0.209 326.2);
Tailwind
colors: {
  custom: {
    50: '#cc7bcd',
    500: '#b23bb7',
    950: '#000000',
  },
}
SCSS
$custom: #b23bb7;
$custom-light: #cc7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bb7",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 297.581,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5702,
    "c": 0.20875,
    "h": 326.2
  },
  "luminance": 0.16012
}

Semantic roles & 50–950 ramp

primary
#B23BB7
secondary
#8AC687
accent
#DB4D53
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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