#B23ED1#B23ED1

#B23ED1 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.9% C 0.227 H 318.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B23ED1
RGBrgb(178, 62, 209)
HSLhsl(287, 62%, 53%)
HSVhsv(287, 70%, 82%)
CMYKcmyk(14.8%, 70.3%, 0%, 18%)
CIE-LABlab(48.90, 66.59, -53.89)
CIE-LCHlch(48.90, 85.67, 321.02°)
OKLaboklab(58.87% 0.1696 -0.1512)
OKLCHoklch(58.87% 0.227 318.3)
XYZxyz(31.5898, 17.5151, 62.0260)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ED1 #5DD13E
analogous
#683ED1 #B23ED1 #D13EA6
triadic
#B23ED1 #D1B23E #3ED1B2
tetradic
#B23ED1 #D1683E #5DD13E #3EA6D1
square
#B23ED1 #D1683E #5DD13E #3EA6D1
split-complementary
#B23ED1 #A6D13E #3ED168
monochromatic
#651D78 #8E28A9 #B23ED1 #C66FDD #D9A1E9

Accessibility & contrast

On white

4.66
#B23ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B23ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B23ED1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ED1#FFFFFF#000000##FFFFFF
##B23ED11.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#4578CE
Tritanopia (blue-blind)
#B15B84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b23ed1;
/* rgb */ color: rgb(178, 62, 209);
/* oklch */ color: oklch(58.9% 0.227 318.3);
Tailwind
colors: {
  custom: {
    50: '#cd7de0',
    500: '#b23ed1',
    950: '#000000',
  },
}
SCSS
$custom: #b23ed1;
$custom-light: #cd7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ed1",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 287.347,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.22722,
    "h": 318.3
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

primary
#B23ED1
secondary
#A3D596
accent
#E54365
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B23ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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