#B23EA8#B23EA8

#B23EA8 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.193 H 331.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B23EA8
RGBrgb(178, 62, 168)
HSLhsl(305, 48%, 47%)
HSVhsv(305, 65%, 70%)
CMYKcmyk(0%, 65.2%, 5.6%, 30.2%)
CIE-LABlab(46.63, 59.33, -33.62)
CIE-LCHlch(46.63, 68.20, 330.46°)
OKLaboklab(56.51% 0.1693 -0.0923)
OKLCHoklch(56.51% 0.193 331.4)
XYZxyz(27.1506, 15.7394, 38.6462)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA8 #3EB248
analogous
#823EB2 #B23EA8 #B23E6E
triadic
#B23EA8 #A8B23E #3EA8B2
tetradic
#B23EA8 #B2823E #3EB248 #3E6EB2
square
#B23EA8 #B2823E #3EB248 #3E6EB2
split-complementary
#B23EA8 #6EB23E #3EB282
monochromatic
#571E52 #852E7D #B23EA8 #C964C0 #D992D3

Accessibility & contrast

On white

5.06
#B23EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B23EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EA8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EA8#FFFFFF#000000##FFFFFF
##B23EA81.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AB
Deuteranopia (green-blind)
#6074A5
Tritanopia (blue-blind)
#B94A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ea8;
/* rgb */ color: rgb(178, 62, 168);
/* oklch */ color: oklch(56.5% 0.193 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc7cc2',
    500: '#b23ea8',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea8;
$custom-light: #cc7cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea8",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 305.172,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56506,
    "c": 0.19285,
    "h": 331.4
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#B23EA8
secondary
#88C48D
accent
#D85C50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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