#B23BCA#B23BCA

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

Color values

HEX#B23BCA
RGBrgb(178, 59, 202)
HSLhsl(290, 57%, 51%)
HSVhsv(290, 71%, 79%)
CMYKcmyk(11.9%, 70.8%, 0%, 20.8%)
CIE-LABlab(48.08, 66.41, -51.18)
CIE-LCHlch(48.08, 83.85, 322.38°)
OKLaboklab(58.15% 0.173 -0.1433)
OKLCHoklch(58.15% 0.225 320.4)
XYZxyz(30.5834, 16.8587, 57.5088)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BCA #53CA3B
analogous
#6A3BCA #B23BCA #CA3B9A
triadic
#B23BCA #CAB23B #3BCAB2
tetradic
#B23BCA #CA6A3B #53CA3B #3B9ACA
square
#B23BCA #CA6A3B #53CA3B #3B9ACA
split-complementary
#B23BCA #9ACA3B #3BCA6A
monochromatic
#601E6D #8A2B9D #B23BCA #C56BD7 #D89BE4

Accessibility & contrast

On white

4.80
#B23BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23BCA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BCA#FFFFFF#000000##FFFFFF
##B23BCA1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4976C7
Tritanopia (blue-blind)
#B3567F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23bca;
/* rgb */ color: rgb(178, 59, 202);
/* oklch */ color: oklch(58.2% 0.225 320.4);
Tailwind
colors: {
  custom: {
    50: '#cd7cdb',
    500: '#b23bca',
    950: '#000000',
  },
}
SCSS
$custom: #b23bca;
$custom-light: #cd7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bca",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 289.93,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58151,
    "c": 0.22464,
    "h": 320.4
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#B23BCA
secondary
#9BD091
accent
#E14761
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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