#B23AB7#B23AB7

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

Color values

HEX#B23AB7
RGBrgb(178, 58, 183)
HSLhsl(298, 52%, 47%)
HSVhsv(298, 68%, 72%)
CMYKcmyk(2.7%, 68.3%, 0%, 28.2%)
CIE-LABlab(46.86, 63.41, -42.09)
CIE-LCHlch(46.86, 76.10, 326.42°)
OKLaboklab(56.92% 0.1745 -0.1168)
OKLCHoklch(56.92% 0.21 326.2)
XYZxyz(28.4198, 15.9118, 46.3650)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AB7 #3FB73A
analogous
#743AB7 #B23AB7 #B73A7E
triadic
#B23AB7 #B7B23A #3AB7B2
tetradic
#B23AB7 #B7743A #3FB73A #3A7EB7
square
#B23AB7 #B7743A #3FB73A #3A7EB7
split-complementary
#B23AB7 #7EB73A #3AB774
monochromatic
#581D5A #852B89 #B23AB7 #C961CD #D990DC

Accessibility & contrast

On white

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

On black

4.18
#B23AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B23AB7#FFFFFF#000000##FFFFFF
##B23AB71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165BB
Deuteranopia (green-blind)
#5674B4
Tritanopia (blue-blind)
#B74D74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23ab7;
/* rgb */ color: rgb(178, 58, 183);
/* oklch */ color: oklch(56.9% 0.210 326.2);
Tailwind
colors: {
  custom: {
    50: '#cc7acd',
    500: '#b23ab7',
    950: '#000000',
  },
}
SCSS
$custom: #b23ab7;
$custom-light: #cc7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ab7",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 297.6,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56924,
    "c": 0.20997,
    "h": 326.2
  },
  "luminance": 0.1591
}

Semantic roles & 50–950 ramp

primary
#B23AB7
secondary
#89C786
accent
#DB4C52
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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