#B23EBC#B23EBC

#B23EBC is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.209 H 324.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B23EBC
RGBrgb(178, 62, 188)
HSLhsl(295, 50%, 49%)
HSVhsv(295, 67%, 74%)
CMYKcmyk(5.3%, 67%, 0%, 26.3%)
CIE-LABlab(47.68, 62.74, -43.71)
CIE-LCHlch(47.68, 76.47, 325.14°)
OKLaboklab(57.6% 0.1703 -0.1215)
OKLCHoklch(57.6% 0.209 324.5)
XYZxyz(29.1591, 16.5428, 49.2244)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EBC #48BC3E
analogous
#733EBC #B23EBC #BC3E87
triadic
#B23EBC #BCB23E #3EBCB2
tetradic
#B23EBC #BC733E #48BC3E #3E87BC
square
#B23EBC #BC733E #48BC3E #3E87BC
split-complementary
#B23EBC #87BC3E #3EBC73
monochromatic
#5B2060 #862F8E #B23EBC #C66ACE #D798DD

Accessibility & contrast

On white

4.87
#B23EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B23EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EBC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EBC#FFFFFF#000000##FFFFFF
##B23EBC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#B65278
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23ebc;
/* rgb */ color: rgb(178, 62, 188);
/* oklch */ color: oklch(57.6% 0.209 324.5);
Tailwind
colors: {
  custom: {
    50: '#cc7dd1',
    500: '#b23ebc',
    950: '#000000',
  },
}
SCSS
$custom: #b23ebc;
$custom-light: #cc7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ebc",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 295.238,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.20919,
    "h": 324.5
  },
  "luminance": 0.16541
}

Semantic roles & 50–950 ramp

primary
#B23EBC
secondary
#92C98D
accent
#DA4E59
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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