#B23EA1#B23EA1

#B23EA1 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.187 H 334.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B23EA1
RGBrgb(178, 62, 161)
HSLhsl(309, 48%, 47%)
HSVhsv(309, 65%, 70%)
CMYKcmyk(0%, 65.2%, 9.6%, 30.2%)
CIE-LABlab(46.29, 58.21, -30.00)
CIE-LCHlch(46.29, 65.48, 332.73°)
OKLaboklab(56.15% 0.1686 -0.0819)
OKLCHoklch(56.15% 0.187 334.1)
XYZxyz(26.5159, 15.4856, 35.3038)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA1 #3EB24F
analogous
#893EB2 #B23EA1 #B23E67
triadic
#B23EA1 #A1B23E #3EA1B2
tetradic
#B23EA1 #B2893E #3EB24F #3E67B2
square
#B23EA1 #B2893E #3EB24F #3E67B2
split-complementary
#B23EA1 #67B23E #3EB289
monochromatic
#571E4F #852E78 #B23EA1 #C964BA #D992CE

Accessibility & contrast

On white

5.13
#B23EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B23EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EA1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EA1#FFFFFF#000000##FFFFFF
##B23EA11.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A4
Deuteranopia (green-blind)
#63749E
Tritanopia (blue-blind)
#BA476A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ea1;
/* rgb */ color: rgb(178, 62, 161);
/* oklch */ color: oklch(56.1% 0.187 334.1);
Tailwind
colors: {
  custom: {
    50: '#cc7cbd',
    500: '#b23ea1',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea1;
$custom-light: #cc7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea1",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 308.793,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5615,
    "c": 0.18742,
    "h": 334.1
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#B23EA1
secondary
#88C491
accent
#D86450
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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