#B23EC4#B23EC4

#B23EC4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.216 H 322.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B23EC4
RGBrgb(178, 62, 196)
HSLhsl(292, 53%, 51%)
HSVhsv(292, 68%, 77%)
CMYKcmyk(9.2%, 68.4%, 0%, 23.1%)
CIE-LABlab(48.13, 64.18, -47.64)
CIE-LCHlch(48.13, 79.93, 323.42°)
OKLaboklab(58.07% 0.1702 -0.133)
OKLCHoklch(58.07% 0.216 322)
XYZxyz(30.0455, 16.8974, 53.8928)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EC4 #50C43E
analogous
#6F3EC4 #B23EC4 #C43E93
triadic
#B23EC4 #C4B23E #3EC4B2
tetradic
#B23EC4 #C46F3E #50C43E #3E93C4
square
#B23EC4 #C46F3E #50C43E #3E93C4
split-complementary
#B23EC4 #93C43E #3EC46F
monochromatic
#5E2068 #892E97 #B23EC4 #C56DD2 #D79CE1

Accessibility & contrast

On white

4.80
#B23EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B23EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EC4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EC4#FFFFFF#000000##FFFFFF
##B23EC41.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116AC8
Deuteranopia (green-blind)
#4F77C1
Tritanopia (blue-blind)
#B4557C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b23ec4;
/* rgb */ color: rgb(178, 62, 196);
/* oklch */ color: oklch(58.1% 0.216 322.0);
Tailwind
colors: {
  custom: {
    50: '#cd7dd6',
    500: '#b23ec4',
    950: '#000000',
  },
}
SCSS
$custom: #b23ec4;
$custom-light: #cd7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ec4",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 291.94,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.21599,
    "h": 322
  },
  "luminance": 0.16896
}

Semantic roles & 50–950 ramp

primary
#B23EC4
secondary
#99CD91
accent
#DD4B5F
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B23EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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