#B23EB6#B23EB6

#B23EB6 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.204 H 326.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B23EB6
RGBrgb(178, 62, 182)
HSLhsl(298, 49%, 48%)
HSVhsv(298, 66%, 71%)
CMYKcmyk(2.2%, 65.9%, 0%, 28.6%)
CIE-LABlab(47.35, 61.69, -40.72)
CIE-LCHlch(47.35, 73.92, 326.57°)
OKLaboklab(57.26% 0.1702 -0.1128)
OKLCHoklch(57.26% 0.204 326.5)
XYZxyz(28.5257, 16.2895, 45.8886)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EB6 #42B63E
analogous
#763EB6 #B23EB6 #B63E7E
triadic
#B23EB6 #B6B23E #3EB6B2
tetradic
#B23EB6 #B6763E #42B63E #3E7EB6
square
#B23EB6 #B6763E #42B63E #3E7EB6
split-complementary
#B23EB6 #7EB63E #3EB676
monochromatic
#591F5B #852E88 #B23EB6 #C866CB #D894DB

Accessibility & contrast

On white

4.93
#B23EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B23EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EB6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EB6#FFFFFF#000000##FFFFFF
##B23EB61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67B9
Deuteranopia (green-blind)
#5875B3
Tritanopia (blue-blind)
#B74F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23eb6;
/* rgb */ color: rgb(178, 62, 182);
/* oklch */ color: oklch(57.3% 0.204 326.5);
Tailwind
colors: {
  custom: {
    50: '#cc7ccc',
    500: '#b23eb6',
    950: '#000000',
  },
}
SCSS
$custom: #b23eb6;
$custom-light: #cc7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#b23eb6",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 298,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.20418,
    "h": 326.5
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#B23EB6
secondary
#8CC68A
accent
#D94F54
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #B23EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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