#B23EB5#B23EB5

#B23EB5 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.203 H 326.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B23EB5
RGBrgb(178, 62, 181)
HSLhsl(298, 49%, 48%)
HSVhsv(298, 66%, 71%)
CMYKcmyk(1.7%, 65.7%, 0%, 29%)
CIE-LABlab(47.30, 61.52, -40.22)
CIE-LCHlch(47.30, 73.50, 326.82°)
OKLaboklab(57.21% 0.1702 -0.1114)
OKLCHoklch(57.21% 0.203 326.8)
XYZxyz(28.4227, 16.2483, 45.3463)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EB5 #41B53E
analogous
#763EB5 #B23EB5 #B53E7D
triadic
#B23EB5 #B5B23E #3EB5B2
tetradic
#B23EB5 #B5763E #41B53E #3E7DB5
square
#B23EB5 #B5763E #41B53E #3E7DB5
split-complementary
#B23EB5 #7DB53E #3EB576
monochromatic
#581F5A #852E87 #B23EB5 #C866CA #D893DA

Accessibility & contrast

On white

4.94
#B23EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B23EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EB5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EB5#FFFFFF#000000##FFFFFF
##B23EB51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67B8
Deuteranopia (green-blind)
#5975B2
Tritanopia (blue-blind)
#B74F74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23eb5;
/* rgb */ color: rgb(178, 62, 181);
/* oklch */ color: oklch(57.2% 0.203 326.8);
Tailwind
colors: {
  custom: {
    50: '#cc7ccb',
    500: '#b23eb5',
    950: '#000000',
  },
}
SCSS
$custom: #b23eb5;
$custom-light: #cc7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eb5",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 298.487,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57206,
    "c": 0.20336,
    "h": 326.8
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

primary
#B23EB5
secondary
#8BC589
accent
#D94F53
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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