#B23EBB#B23EBB

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

Color values

HEX#B23EBB
RGBrgb(178, 62, 187)
HSLhsl(296, 50%, 49%)
HSVhsv(296, 67%, 73%)
CMYKcmyk(4.8%, 66.8%, 0%, 26.7%)
CIE-LABlab(47.62, 62.57, -43.21)
CIE-LCHlch(47.62, 76.04, 325.37°)
OKLaboklab(57.55% 0.1703 -0.1201)
OKLCHoklch(57.55% 0.208 324.8)
XYZxyz(29.0517, 16.4999, 48.6587)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EBB #47BB3E
analogous
#743EBB #B23EBB #BB3E86
triadic
#B23EBB #BBB23E #3EBBB2
tetradic
#B23EBB #BB743E #47BB3E #3E86BB
square
#B23EBB #BB743E #47BB3E #3E86BB
split-complementary
#B23EBB #86BB3E #3EBB74
monochromatic
#5B205F #862F8D #B23EBB #C669CD #D797DC

Accessibility & contrast

On white

4.88
#B23EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B23EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EBB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EBB#FFFFFF#000000##FFFFFF
##B23EBB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#B65178
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b23ebb;
/* rgb */ color: rgb(178, 62, 187);
/* oklch */ color: oklch(57.5% 0.208 324.8);
Tailwind
colors: {
  custom: {
    50: '#cc7dd0',
    500: '#b23ebb',
    950: '#000000',
  },
}
SCSS
$custom: #b23ebb;
$custom-light: #cc7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ebb",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 295.68,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.20835,
    "h": 324.8
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

primary
#B23EBB
secondary
#91C88D
accent
#DA4E58
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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