#B23EC7#B23EC7

#B23EC7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.219 H 321.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B23EC7
RGBrgb(178, 62, 199)
HSLhsl(291, 55%, 51%)
HSVhsv(291, 69%, 78%)
CMYKcmyk(10.6%, 68.8%, 0%, 22%)
CIE-LABlab(48.30, 64.73, -49.09)
CIE-LCHlch(48.30, 81.24, 322.82°)
OKLaboklab(58.25% 0.1701 -0.1372)
OKLCHoklch(58.25% 0.219 321.1)
XYZxyz(30.3904, 17.0353, 55.7091)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23EC7 #53C73E
analogous
#6D3EC7 #B23EC7 #C73E97
triadic
#B23EC7 #C7B23E #3EC7B2
tetradic
#B23EC7 #C76D3E #53C73E #3E97C7
square
#B23EC7 #C76D3E #53C73E #3E97C7
split-complementary
#B23EC7 #97C73E #3EC76D
monochromatic
#601F6B #8A2D9B #B23EC7 #C56DD5 #D89DE3

Accessibility & contrast

On white

4.77
#B23EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B23EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23EC7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23EC7#FFFFFF#000000##FFFFFF
##B23EC71.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ACB
Deuteranopia (green-blind)
#4D77C4
Tritanopia (blue-blind)
#B3577E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23ec7;
/* rgb */ color: rgb(178, 62, 199);
/* oklch */ color: oklch(58.3% 0.219 321.1);
Tailwind
colors: {
  custom: {
    50: '#cd7dd9',
    500: '#b23ec7',
    950: '#000000',
  },
}
SCSS
$custom: #b23ec7;
$custom-light: #cd7dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ec7",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 290.803,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.21856,
    "h": 321.1
  },
  "luminance": 0.17034
}

Semantic roles & 50–950 ramp

primary
#B23EC7
secondary
#9BCF92
accent
#DE4960
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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