#B23EA2#B23EA2

#B23EA2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.2% C 0.188 H 333.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B23EA2
RGBrgb(178, 62, 162)
HSLhsl(308, 48%, 47%)
HSVhsv(308, 65%, 70%)
CMYKcmyk(0%, 65.2%, 9%, 30.2%)
CIE-LABlab(46.34, 58.37, -30.52)
CIE-LCHlch(46.34, 65.86, 332.40°)
OKLaboklab(56.2% 0.1687 -0.0834)
OKLCHoklch(56.2% 0.188 333.7)
XYZxyz(26.6044, 15.5210, 35.7700)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA2 #3EB24E
analogous
#883EB2 #B23EA2 #B23E68
triadic
#B23EA2 #A2B23E #3EA2B2
tetradic
#B23EA2 #B2883E #3EB24E #3E68B2
square
#B23EA2 #B2883E #3EB24E #3E68B2
split-complementary
#B23EA2 #68B23E #3EB288
monochromatic
#571E4F #852E79 #B23EA2 #C964BB #D992CF

Accessibility & contrast

On white

5.12
#B23EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B23EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EA2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EA2#FFFFFF#000000##FFFFFF
##B23EA21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#BA476A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ea2;
/* rgb */ color: rgb(178, 62, 162);
/* oklch */ color: oklch(56.2% 0.188 333.7);
Tailwind
colors: {
  custom: {
    50: '#cc7cbe',
    500: '#b23ea2',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea2;
$custom-light: #cc7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea2",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 308.276,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.562,
    "c": 0.18818,
    "h": 333.7
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#B23EA2
secondary
#88C490
accent
#D86350
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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