#B23EB3#B23EB3

#B23EB3 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.202 H 327.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B23EB3
RGBrgb(178, 62, 179)
HSLhsl(299, 49%, 47%)
HSVhsv(299, 65%, 70%)
CMYKcmyk(0.6%, 65.4%, 0%, 29.8%)
CIE-LABlab(47.19, 61.18, -39.22)
CIE-LCHlch(47.19, 72.67, 327.34°)
OKLaboklab(57.1% 0.1701 -0.1085)
OKLCHoklch(57.1% 0.202 327.5)
XYZxyz(28.2190, 16.1668, 44.2733)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EB3 #3FB33E
analogous
#773EB3 #B23EB3 #B33E7A
triadic
#B23EB3 #B3B23E #3EB3B2
tetradic
#B23EB3 #B3773E #3FB33E #3E7AB3
square
#B23EB3 #B3773E #3FB33E #3E7AB3
split-complementary
#B23EB3 #7AB33E #3EB377
monochromatic
#581F58 #852E86 #B23EB3 #C965CA #D992D9

Accessibility & contrast

On white

4.96
#B23EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B23EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EB3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EB3#FFFFFF#000000##FFFFFF
##B23EB31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B6
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#B74E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23eb3;
/* rgb */ color: rgb(178, 62, 179);
/* oklch */ color: oklch(57.1% 0.202 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cca',
    500: '#b23eb3',
    950: '#000000',
  },
}
SCSS
$custom: #b23eb3;
$custom-light: #cc7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eb3",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 299.487,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.20171,
    "h": 327.5
  },
  "luminance": 0.16165
}

Semantic roles & 50–950 ramp

primary
#B23EB3
secondary
#89C588
accent
#D85051
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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