#B23ED3#B23ED3

#B23ED3 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.229 H 317.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B23ED3
RGBrgb(178, 62, 211)
HSLhsl(287, 63%, 54%)
HSVhsv(287, 71%, 83%)
CMYKcmyk(15.6%, 70.6%, 0%, 17.3%)
CIE-LABlab(49.03, 66.97, -54.84)
CIE-LCHlch(49.03, 86.56, 320.69°)
OKLaboklab(59% 0.1694 -0.154)
OKLCHoklch(59% 0.229 317.7)
XYZxyz(31.8389, 17.6148, 63.3383)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ED3 #5FD33E
analogous
#673ED3 #B23ED3 #D33EAA
triadic
#B23ED3 #D3B23E #3ED3B2
tetradic
#B23ED3 #D3673E #5FD33E #3EAAD3
square
#B23ED3 #D3673E #5FD33E #3EAAD3
split-complementary
#B23ED3 #AAD33E #3ED367
monochromatic
#661C7B #8F27AC #B23ED3 #C670DE #DAA2EA

Accessibility & contrast

On white

4.64
#B23ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B23ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ED3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ED3#FFFFFF#000000##FFFFFF
##B23ED31.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#4378D0
Tritanopia (blue-blind)
#B15C85
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23ed3;
/* rgb */ color: rgb(178, 62, 211);
/* oklch */ color: oklch(59.0% 0.229 317.7);
Tailwind
colors: {
  custom: {
    50: '#cd7de1',
    500: '#b23ed3',
    950: '#000000',
  },
}
SCSS
$custom: #b23ed3;
$custom-light: #cd7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ed3",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 286.711,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59,
    "c": 0.22897,
    "h": 317.7
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#B23ED3
secondary
#A5D696
accent
#E64266
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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