#B23EA3#B23EA3

#B23EA3 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.189 H 333.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B23EA3
RGBrgb(178, 62, 163)
HSLhsl(308, 48%, 47%)
HSVhsv(308, 65%, 70%)
CMYKcmyk(0%, 65.2%, 8.4%, 30.2%)
CIE-LABlab(46.39, 58.52, -31.04)
CIE-LCHlch(46.39, 66.25, 332.06°)
OKLaboklab(56.25% 0.1688 -0.0849)
OKLCHoklch(56.25% 0.189 333.3)
XYZxyz(26.6937, 15.5567, 36.2401)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA3 #3EB24D
analogous
#873EB2 #B23EA3 #B23E69
triadic
#B23EA3 #A3B23E #3EA3B2
tetradic
#B23EA3 #B2873E #3EB24D #3E69B2
square
#B23EA3 #B2873E #3EB24D #3E69B2
split-complementary
#B23EA3 #69B23E #3EB287
monochromatic
#571E50 #852E79 #B23EA3 #C964BC #D992D0

Accessibility & contrast

On white

5.11
#B23EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B23EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EA3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EA3#FFFFFF#000000##FFFFFF
##B23EA31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A6
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#BA486B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ea3;
/* rgb */ color: rgb(178, 62, 163);
/* oklch */ color: oklch(56.3% 0.189 333.3);
Tailwind
colors: {
  custom: {
    50: '#cc7cbe',
    500: '#b23ea3',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea3;
$custom-light: #cc7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea3",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 307.759,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5625,
    "c": 0.18896,
    "h": 333.3
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#B23EA3
secondary
#88C490
accent
#D86150
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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