#B23EA4#B23EA4

#B23EA4 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.190 H 332.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B23EA4
RGBrgb(178, 62, 164)
HSLhsl(307, 48%, 47%)
HSVhsv(307, 65%, 70%)
CMYKcmyk(0%, 65.2%, 7.9%, 30.2%)
CIE-LABlab(46.44, 58.69, -31.56)
CIE-LCHlch(46.44, 66.63, 331.73°)
OKLaboklab(56.3% 0.1689 -0.0864)
OKLCHoklch(56.3% 0.19 332.9)
XYZxyz(26.7836, 15.5926, 36.7138)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA4 #3EB24C
analogous
#863EB2 #B23EA4 #B23E6A
triadic
#B23EA4 #A4B23E #3EA4B2
tetradic
#B23EA4 #B2863E #3EB24C #3E6AB2
square
#B23EA4 #B2863E #3EB24C #3E6AB2
split-complementary
#B23EA4 #6AB23E #3EB286
monochromatic
#571E50 #852E7A #B23EA4 #C964BD #D992D0

Accessibility & contrast

On white

5.10
#B23EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B23EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EA4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EA4#FFFFFF#000000##FFFFFF
##B23EA41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A7
Deuteranopia (green-blind)
#6174A1
Tritanopia (blue-blind)
#BA486B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ea4;
/* rgb */ color: rgb(178, 62, 164);
/* oklch */ color: oklch(56.3% 0.190 332.9);
Tailwind
colors: {
  custom: {
    50: '#cc7cbf',
    500: '#b23ea4',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea4;
$custom-light: #cc7cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea4",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 307.241,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56301,
    "c": 0.18973,
    "h": 332.9
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#B23EA4
secondary
#88C48F
accent
#D86050
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #B23EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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