#B23BC4#B23BC4

#B23BC4 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.220 H 322.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B23BC4
RGBrgb(178, 59, 196)
HSLhsl(292, 54%, 50%)
HSVhsv(292, 70%, 77%)
CMYKcmyk(9.2%, 69.9%, 0%, 23.1%)
CIE-LABlab(47.73, 65.32, -48.28)
CIE-LCHlch(47.73, 81.23, 323.53°)
OKLaboklab(57.78% 0.1733 -0.1348)
OKLCHoklch(57.78% 0.22 322.1)
XYZxyz(29.8868, 16.5801, 53.8399)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BC4 #4DC43B
analogous
#6E3BC4 #B23BC4 #C43B91
triadic
#B23BC4 #C4B23B #3BC4B2
tetradic
#B23BC4 #C46E3B #4DC43B #3B91C4
square
#B23BC4 #C46E3B #4DC43B #3B91C4
split-complementary
#B23BC4 #91C43B #3BC46E
monochromatic
#5D1F66 #872D95 #B23BC4 #C46AD2 #D799E0

Accessibility & contrast

On white

4.87
#B23BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B23BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BC4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BC4#FFFFFF#000000##FFFFFF
##B23BC41.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0269C8
Deuteranopia (green-blind)
#4E76C1
Tritanopia (blue-blind)
#B4537C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23bc4;
/* rgb */ color: rgb(178, 59, 196);
/* oklch */ color: oklch(57.8% 0.220 322.1);
Tailwind
colors: {
  custom: {
    50: '#cd7bd6',
    500: '#b23bc4',
    950: '#000000',
  },
}
SCSS
$custom: #b23bc4;
$custom-light: #cd7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bc4",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 292.117,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.21957,
    "h": 322.1
  },
  "luminance": 0.16578
}

Semantic roles & 50–950 ramp

primary
#B23BC4
secondary
#97CC8F
accent
#DD4B5E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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