#B23ED2#B23ED2

#B23ED2 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.228 H 318.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B23ED2
RGBrgb(178, 62, 210)
HSLhsl(287, 62%, 53%)
HSVhsv(287, 70%, 82%)
CMYKcmyk(15.2%, 70.5%, 0%, 17.6%)
CIE-LABlab(48.96, 66.78, -54.37)
CIE-LCHlch(48.96, 86.11, 320.85°)
OKLaboklab(58.94% 0.1695 -0.1526)
OKLCHoklch(58.94% 0.228 318)
XYZxyz(31.7139, 17.5648, 62.6801)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ED2 #5ED23E
analogous
#683ED2 #B23ED2 #D23EA8
triadic
#B23ED2 #D2B23E #3ED2B2
tetradic
#B23ED2 #D2683E #5ED23E #3EA8D2
square
#B23ED2 #D2683E #5ED23E #3EA8D2
split-complementary
#B23ED2 #A8D23E #3ED268
monochromatic
#651C79 #8F28AB #B23ED2 #C670DE #DAA1E9

Accessibility & contrast

On white

4.65
#B23ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B23ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ED2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ED2#FFFFFF#000000##FFFFFF
##B23ED21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#B15B84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23ed2;
/* rgb */ color: rgb(178, 62, 210);
/* oklch */ color: oklch(58.9% 0.228 318.0);
Tailwind
colors: {
  custom: {
    50: '#cd7de0',
    500: '#b23ed2',
    950: '#000000',
  },
}
SCSS
$custom: #b23ed2;
$custom-light: #cd7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ed2",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 287.027,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58937,
    "c": 0.22809,
    "h": 318
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#B23ED2
secondary
#A4D696
accent
#E54366
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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