#B23ACC#B23ACC

#B23ACC is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.227 H 319.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B23ACC
RGBrgb(178, 58, 204)
HSLhsl(289, 59%, 51%)
HSVhsv(289, 72%, 80%)
CMYKcmyk(12.7%, 71.6%, 0%, 20%)
CIE-LABlab(48.07, 67.15, -52.35)
CIE-LCHlch(48.07, 85.14, 322.06°)
OKLaboklab(58.18% 0.1739 -0.1467)
OKLCHoklch(58.18% 0.227 319.8)
XYZxyz(30.7709, 16.8523, 58.7470)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ACC #54CC3A
analogous
#693ACC #B23ACC #CC3A9D
triadic
#B23ACC #CCB23A #3ACCB2
tetradic
#B23ACC #CC693A #54CC3A #3A9DCC
square
#B23ACC #CC693A #54CC3A #3A9DCC
split-complementary
#B23ACC #9DCC3A #3ACC69
monochromatic
#601D6F #8A29A0 #B23ACC #C56BD9 #D89BE5

Accessibility & contrast

On white

4.81
#B23ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B23ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ACC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ACC#FFFFFF#000000##FFFFFF
##B23ACC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#B25680
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23acc;
/* rgb */ color: rgb(178, 58, 204);
/* oklch */ color: oklch(58.2% 0.227 319.8);
Tailwind
colors: {
  custom: {
    50: '#cd7bdc',
    500: '#b23acc',
    950: '#000000',
  },
}
SCSS
$custom: #b23acc;
$custom-light: #cd7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23acc",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 289.315,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58184,
    "c": 0.22747,
    "h": 319.8
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#B23ACC
secondary
#9CD191
accent
#E24662
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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