#B23EA0#B23EA0

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

Color values

HEX#B23EA0
RGBrgb(178, 62, 160)
HSLhsl(309, 48%, 47%)
HSVhsv(309, 65%, 70%)
CMYKcmyk(0%, 65.2%, 10.1%, 30.2%)
CIE-LABlab(46.24, 58.05, -29.48)
CIE-LCHlch(46.24, 65.10, 333.08°)
OKLaboklab(56.1% 0.1685 -0.0804)
OKLCHoklch(56.1% 0.187 334.5)
XYZxyz(26.4281, 15.4504, 34.8412)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA0 #3EB250
analogous
#8A3EB2 #B23EA0 #B23E66
triadic
#B23EA0 #A0B23E #3EA0B2
tetradic
#B23EA0 #B28A3E #3EB250 #3E66B2
square
#B23EA0 #B28A3E #3EB250 #3E66B2
split-complementary
#B23EA0 #66B23E #3EB28A
monochromatic
#571E4E #852E77 #B23EA0 #C964B9 #D992CE

Accessibility & contrast

On white

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

On black

4.09
#B23EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B23EA0#FFFFFF#000000##FFFFFF
##B23EA01.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A3
Deuteranopia (green-blind)
#63749D
Tritanopia (blue-blind)
#BA4669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ea0;
/* rgb */ color: rgb(178, 62, 160);
/* oklch */ color: oklch(56.1% 0.187 334.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cbc',
    500: '#b23ea0',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea0;
$custom-light: #cc7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea0",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 309.31,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.561,
    "c": 0.18667,
    "h": 334.5
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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