#B23EBA#B23EBA

#B23EBA is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.208 H 325.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B23EBA
RGBrgb(178, 62, 186)
HSLhsl(296, 50%, 49%)
HSVhsv(296, 67%, 73%)
CMYKcmyk(4.3%, 66.7%, 0%, 27.1%)
CIE-LABlab(47.57, 62.39, -42.72)
CIE-LCHlch(47.57, 75.61, 325.60°)
OKLaboklab(57.49% 0.1703 -0.1186)
OKLCHoklch(57.49% 0.208 325.1)
XYZxyz(28.9450, 16.4572, 48.0968)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EBA #46BA3E
analogous
#743EBA #B23EBA #BA3E84
triadic
#B23EBA #BAB23E #3EBAB2
tetradic
#B23EBA #BA743E #46BA3E #3E84BA
square
#B23EBA #BA743E #46BA3E #3E84BA
split-complementary
#B23EBA #84BA3E #3EBA74
monochromatic
#5A1F5E #862F8C #B23EBA #C668CD #D896DC

Accessibility & contrast

On white

4.89
#B23EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B23EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EBA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EBA#FFFFFF#000000##FFFFFF
##B23EBA1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#5676B7
Tritanopia (blue-blind)
#B65177
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23eba;
/* rgb */ color: rgb(178, 62, 186);
/* oklch */ color: oklch(57.5% 0.208 325.1);
Tailwind
colors: {
  custom: {
    50: '#cc7dcf',
    500: '#b23eba',
    950: '#000000',
  },
}
SCSS
$custom: #b23eba;
$custom-light: #cc7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eba",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 296.129,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.20752,
    "h": 325.1
  },
  "luminance": 0.16455
}

Semantic roles & 50–950 ramp

primary
#B23EBA
secondary
#90C88C
accent
#DA4E57
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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