#B23BC5#B23BC5

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

Color values

HEX#B23BC5
RGBrgb(178, 59, 197)
HSLhsl(292, 54%, 50%)
HSVhsv(292, 70%, 77%)
CMYKcmyk(9.6%, 70.1%, 0%, 22.7%)
CIE-LABlab(47.78, 65.50, -48.77)
CIE-LCHlch(47.78, 81.66, 323.33°)
OKLaboklab(57.84% 0.1733 -0.1362)
OKLCHoklch(57.84% 0.22 321.8)
XYZxyz(30.0010, 16.6258, 54.4414)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BC5 #4EC53B
analogous
#6D3BC5 #B23BC5 #C53B93
triadic
#B23BC5 #C5B23B #3BC5B2
tetradic
#B23BC5 #C56D3B #4EC53B #3B93C5
square
#B23BC5 #C56D3B #4EC53B #3B93C5
split-complementary
#B23BC5 #93C53B #3BC56D
monochromatic
#5D1F67 #882C96 #B23BC5 #C56AD3 #D799E1

Accessibility & contrast

On white

4.86
#B23BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23BC5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BC5#FFFFFF#000000##FFFFFF
##B23BC51.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#4D76C2
Tritanopia (blue-blind)
#B4547C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23bc5;
/* rgb */ color: rgb(178, 59, 197);
/* oklch */ color: oklch(57.8% 0.220 321.8);
Tailwind
colors: {
  custom: {
    50: '#cd7bd7',
    500: '#b23bc5',
    950: '#000000',
  },
}
SCSS
$custom: #b23bc5;
$custom-light: #cd7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bc5",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 291.739,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57844,
    "c": 0.22041,
    "h": 321.8
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#B23BC5
secondary
#98CD8F
accent
#DE4A5E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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