#B23ABC#B23ABC

#B23ABC is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.214 H 324.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B23ABC
RGBrgb(178, 58, 188)
HSLhsl(295, 53%, 48%)
HSVhsv(295, 69%, 74%)
CMYKcmyk(5.3%, 69.1%, 0%, 26.3%)
CIE-LABlab(47.14, 64.27, -44.57)
CIE-LCHlch(47.14, 78.21, 325.26°)
OKLaboklab(57.21% 0.1745 -0.124)
OKLCHoklch(57.21% 0.214 324.6)
XYZxyz(28.9495, 16.1237, 49.1546)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ABC #44BC3A
analogous
#713ABC #B23ABC #BC3A85
triadic
#B23ABC #BCB23A #3ABCB2
tetradic
#B23ABC #BC713A #44BC3A #3A85BC
square
#B23ABC #BC713A #44BC3A #3A85BC
split-complementary
#B23ABC #85BC3A #3ABC71
monochromatic
#591D5E #862C8D #B23ABC #C764CF #D893DE

Accessibility & contrast

On white

4.97
#B23ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B23ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ABC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ABC#FFFFFF#000000##FFFFFF
##B23ABC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#B64F77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23abc;
/* rgb */ color: rgb(178, 58, 188);
/* oklch */ color: oklch(57.2% 0.214 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd7bd1',
    500: '#b23abc',
    950: '#000000',
  },
}
SCSS
$custom: #b23abc;
$custom-light: #cd7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23abc",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 295.385,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.21407,
    "h": 324.6
  },
  "luminance": 0.16122
}

Semantic roles & 50–950 ramp

primary
#B23ABC
secondary
#8EC989
accent
#DC4C57
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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