#B23EAC#B23EAC

#B23EAC is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.7% C 0.196 H 329.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B23EAC
RGBrgb(178, 62, 172)
HSLhsl(303, 48%, 47%)
HSVhsv(303, 65%, 70%)
CMYKcmyk(0%, 65.2%, 3.4%, 30.2%)
CIE-LABlab(46.83, 59.99, -35.67)
CIE-LCHlch(46.83, 69.80, 329.27°)
OKLaboklab(56.72% 0.1697 -0.0982)
OKLCHoklch(56.72% 0.196 329.9)
XYZxyz(27.5289, 15.8908, 40.6390)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EAC #3EB244
analogous
#7E3EB2 #B23EAC #B23E72
triadic
#B23EAC #ACB23E #3EACB2
tetradic
#B23EAC #B27E3E #3EB244 #3E72B2
square
#B23EAC #B27E3E #3EB244 #3E72B2
split-complementary
#B23EAC #72B23E #3EB27E
monochromatic
#571E54 #852E80 #B23EAC #C964C4 #D992D5

Accessibility & contrast

On white

5.03
#B23EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B23EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EAC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EAC#FFFFFF#000000##FFFFFF
##B23EAC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#B84B70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23eac;
/* rgb */ color: rgb(178, 62, 172);
/* oklch */ color: oklch(56.7% 0.196 329.9);
Tailwind
colors: {
  custom: {
    50: '#cc7cc5',
    500: '#b23eac',
    950: '#000000',
  },
}
SCSS
$custom: #b23eac;
$custom-light: #cc7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eac",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 303.103,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.19603,
    "h": 329.9
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#B23EAC
secondary
#88C48B
accent
#D85750
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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