#B23EAB#B23EAB

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

Color values

HEX#B23EAB
RGBrgb(178, 62, 171)
HSLhsl(304, 48%, 47%)
HSVhsv(304, 65%, 70%)
CMYKcmyk(0%, 65.2%, 3.9%, 30.2%)
CIE-LABlab(46.78, 59.83, -35.16)
CIE-LCHlch(46.78, 69.39, 329.56°)
OKLaboklab(56.66% 0.1696 -0.0967)
OKLCHoklch(56.66% 0.195 330.3)
XYZxyz(27.4333, 15.8525, 40.1351)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EAB #3EB245
analogous
#7F3EB2 #B23EAB #B23E71
triadic
#B23EAB #ABB23E #3EABB2
tetradic
#B23EAB #B27F3E #3EB245 #3E71B2
square
#B23EAB #B27F3E #3EB245 #3E71B2
split-complementary
#B23EAB #71B23E #3EB27F
monochromatic
#571E54 #852E7F #B23EAB #C964C3 #D992D5

Accessibility & contrast

On white

5.04
#B23EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B23EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EAB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EAB#FFFFFF#000000##FFFFFF
##B23EAB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AE
Deuteranopia (green-blind)
#5E75A8
Tritanopia (blue-blind)
#B94B6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b23eab;
/* rgb */ color: rgb(178, 62, 171);
/* oklch */ color: oklch(56.7% 0.195 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc7cc4',
    500: '#b23eab',
    950: '#000000',
  },
}
SCSS
$custom: #b23eab;
$custom-light: #cc7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eab",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 303.621,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.19523,
    "h": 330.3
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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