#B23EA6#B23EA6

#B23EA6 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.191 H 332.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B23EA6
RGBrgb(178, 62, 166)
HSLhsl(306, 48%, 47%)
HSVhsv(306, 65%, 70%)
CMYKcmyk(0%, 65.2%, 6.7%, 30.2%)
CIE-LABlab(46.53, 59.01, -32.59)
CIE-LCHlch(46.53, 67.41, 331.09°)
OKLaboklab(56.4% 0.1691 -0.0893)
OKLCHoklch(56.4% 0.191 332.2)
XYZxyz(26.9657, 15.6655, 37.6725)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA6 #3EB24A
analogous
#843EB2 #B23EA6 #B23E6C
triadic
#B23EA6 #A6B23E #3EA6B2
tetradic
#B23EA6 #B2843E #3EB24A #3E6CB2
square
#B23EA6 #B2843E #3EB24A #3E6CB2
split-complementary
#B23EA6 #6CB23E #3EB284
monochromatic
#571E51 #852E7C #B23EA6 #C964BF #D992D1

Accessibility & contrast

On white

5.08
#B23EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B23EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EA6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EA6#FFFFFF#000000##FFFFFF
##B23EA61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964A9
Deuteranopia (green-blind)
#6074A3
Tritanopia (blue-blind)
#B9496C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ea6;
/* rgb */ color: rgb(178, 62, 166);
/* oklch */ color: oklch(56.4% 0.191 332.2);
Tailwind
colors: {
  custom: {
    50: '#cc7cc1',
    500: '#b23ea6',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea6;
$custom-light: #cc7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea6",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 306.207,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56403,
    "c": 0.19129,
    "h": 332.2
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

primary
#B23EA6
secondary
#88C48E
accent
#D85E50
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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