#B23EA5#B23EA5

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

Color values

HEX#B23EA5
RGBrgb(178, 62, 165)
HSLhsl(307, 48%, 47%)
HSVhsv(307, 65%, 70%)
CMYKcmyk(0%, 65.2%, 7.3%, 30.2%)
CIE-LABlab(46.48, 58.85, -32.07)
CIE-LCHlch(46.48, 67.02, 331.41°)
OKLaboklab(56.35% 0.169 -0.0878)
OKLCHoklch(56.35% 0.191 332.5)
XYZxyz(26.8743, 15.6289, 37.1913)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EA5 #3EB24B
analogous
#853EB2 #B23EA5 #B23E6B
triadic
#B23EA5 #A5B23E #3EA5B2
tetradic
#B23EA5 #B2853E #3EB24B #3E6BB2
square
#B23EA5 #B2853E #3EB24B #3E6BB2
split-complementary
#B23EA5 #6BB23E #3EB285
monochromatic
#571E51 #852E7B #B23EA5 #C964BE #D992D1

Accessibility & contrast

On white

5.09
#B23EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23EA5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EA5#FFFFFF#000000##FFFFFF
##B23EA51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964A8
Deuteranopia (green-blind)
#6174A2
Tritanopia (blue-blind)
#B9486C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b23ea5;
/* rgb */ color: rgb(178, 62, 165);
/* oklch */ color: oklch(56.4% 0.191 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cc0',
    500: '#b23ea5',
    950: '#000000',
  },
}
SCSS
$custom: #b23ea5;
$custom-light: #cc7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ea5",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 306.724,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56351,
    "c": 0.1905,
    "h": 332.5
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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