#B23ED8#B23ED8

#B23ED8 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.233 H 316.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B23ED8
RGBrgb(178, 62, 216)
HSLhsl(285, 66%, 55%)
HSVhsv(285, 71%, 85%)
CMYKcmyk(17.6%, 71.3%, 0%, 15.3%)
CIE-LABlab(49.34, 67.92, -57.20)
CIE-LCHlch(49.34, 88.80, 319.90°)
OKLaboklab(59.32% 0.169 -0.1609)
OKLCHoklch(59.32% 0.233 316.4)
XYZxyz(32.4755, 17.8694, 66.6909)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ED8 #64D83E
analogous
#653ED8 #B23ED8 #D83EB1
triadic
#B23ED8 #D8B23E #3ED8B2
tetradic
#B23ED8 #D8653E #64D83E #3EB1D8
square
#B23ED8 #D8653E #64D83E #3EB1D8
split-complementary
#B23ED8 #B1D83E #3ED865
monochromatic
#681A81 #9124B4 #B23ED8 #C671E2 #DBA4ED

Accessibility & contrast

On white

4.59
#B23ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B23ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ED8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ED8#FFFFFF#000000##FFFFFF
##B23ED81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#3E79D5
Tritanopia (blue-blind)
#B05E87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b23ed8;
/* rgb */ color: rgb(178, 62, 216);
/* oklch */ color: oklch(59.3% 0.233 316.4);
Tailwind
colors: {
  custom: {
    50: '#cd7ee5',
    500: '#b23ed8',
    950: '#000000',
  },
}
SCSS
$custom: #b23ed8;
$custom-light: #cd7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ed8",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 285.195,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59322,
    "c": 0.23335,
    "h": 316.4
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#B23ED8
secondary
#A8D998
accent
#E93E69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B23ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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