#B23EB9#B23EB9

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

Color values

HEX#B23EB9
RGBrgb(178, 62, 185)
HSLhsl(297, 50%, 48%)
HSVhsv(297, 66%, 73%)
CMYKcmyk(3.8%, 66.5%, 0%, 27.5%)
CIE-LABlab(47.51, 62.22, -42.22)
CIE-LCHlch(47.51, 75.19, 325.84°)
OKLaboklab(57.43% 0.1703 -0.1172)
OKLCHoklch(57.43% 0.207 325.5)
XYZxyz(28.8390, 16.4148, 47.5389)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EB9 #45B93E
analogous
#743EB9 #B23EB9 #B93E82
triadic
#B23EB9 #B9B23E #3EB9B2
tetradic
#B23EB9 #B9743E #45B93E #3E82B9
square
#B23EB9 #B9743E #45B93E #3E82B9
split-complementary
#B23EB9 #82B93E #3EB974
monochromatic
#5A1F5D #862F8B #B23EB9 #C768CC #D896DC

Accessibility & contrast

On white

4.90
#B23EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B23EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EB9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EB9#FFFFFF#000000##FFFFFF
##B23EB91.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BD
Deuteranopia (green-blind)
#5776B6
Tritanopia (blue-blind)
#B65177
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23eb9;
/* rgb */ color: rgb(178, 62, 185);
/* oklch */ color: oklch(57.4% 0.207 325.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cce',
    500: '#b23eb9',
    950: '#000000',
  },
}
SCSS
$custom: #b23eb9;
$custom-light: #cc7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eb9",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 296.585,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.20667,
    "h": 325.5
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#B23EB9
secondary
#8FC78C
accent
#D94E56
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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