#B23EB2#B23EB2

#B23EB2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.201 H 327.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B23EB2
RGBrgb(178, 62, 178)
HSLhsl(300, 48%, 47%)
HSVhsv(300, 65%, 70%)
CMYKcmyk(0%, 65.2%, 0%, 30.2%)
CIE-LABlab(47.14, 61.00, -38.71)
CIE-LCHlch(47.14, 72.25, 327.60°)
OKLaboklab(57.04% 0.17 -0.107)
OKLCHoklch(57.04% 0.201 327.8)
XYZxyz(28.1182, 16.1265, 43.7426)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EB2 #3EB23E
analogous
#783EB2 #B23EB2 #B23E78
triadic
#B23EB2 #B2B23E #3EB2B2
tetradic
#B23EB2 #B2783E #3EB23E #3E78B2
square
#B23EB2 #B2783E #3EB23E #3E78B2
split-complementary
#B23EB2 #78B23E #3EB278
monochromatic
#571E57 #852E85 #B23EB2 #C964C9 #D992D9

Accessibility & contrast

On white

4.97
#B23EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B23EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EB2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EB2#FFFFFF#000000##FFFFFF
##B23EB21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23eb2;
/* rgb */ color: rgb(178, 62, 178);
/* oklch */ color: oklch(57.0% 0.201 327.8);
Tailwind
colors: {
  custom: {
    50: '#cc7cc9',
    500: '#b23eb2',
    950: '#000000',
  },
}
SCSS
$custom: #b23eb2;
$custom-light: #cc7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eb2",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.20089,
    "h": 327.8
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

primary
#B23EB2
secondary
#88C488
accent
#D85050
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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