#B23EB8#B23EB8

#B23EB8 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.206 H 325.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B23EB8
RGBrgb(178, 62, 184)
HSLhsl(297, 50%, 48%)
HSVhsv(297, 66%, 72%)
CMYKcmyk(3.3%, 66.3%, 0%, 27.8%)
CIE-LABlab(47.46, 62.04, -41.72)
CIE-LCHlch(47.46, 74.76, 326.08°)
OKLaboklab(57.37% 0.1702 -0.1157)
OKLCHoklch(57.37% 0.206 325.8)
XYZxyz(28.7339, 16.3727, 46.9849)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EB8 #44B83E
analogous
#753EB8 #B23EB8 #B83E81
triadic
#B23EB8 #B8B23E #3EB8B2
tetradic
#B23EB8 #B8753E #44B83E #3E81B8
square
#B23EB8 #B8753E #44B83E #3E81B8
split-complementary
#B23EB8 #81B83E #3EB875
monochromatic
#591F5C #862F8A #B23EB8 #C767CC #D895DB

Accessibility & contrast

On white

4.91
#B23EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B23EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EB8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EB8#FFFFFF#000000##FFFFFF
##B23EB81.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BC
Deuteranopia (green-blind)
#5776B5
Tritanopia (blue-blind)
#B65076
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23eb8;
/* rgb */ color: rgb(178, 62, 184);
/* oklch */ color: oklch(57.4% 0.206 325.8);
Tailwind
colors: {
  custom: {
    50: '#cc7cce',
    500: '#b23eb8',
    950: '#000000',
  },
}
SCSS
$custom: #b23eb8;
$custom-light: #cc7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eb8",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 297.049,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.20584,
    "h": 325.8
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#B23EB8
secondary
#8EC78B
accent
#D94F55
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B23EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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