#B23ED9#B23ED9

#B23ED9 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.234 H 316.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#B23ED9
RGBrgb(178, 62, 217)
HSLhsl(285, 67%, 55%)
HSVhsv(285, 71%, 85%)
CMYKcmyk(18%, 71.4%, 0%, 14.9%)
CIE-LABlab(49.40, 68.12, -57.67)
CIE-LCHlch(49.40, 89.25, 319.75°)
OKLaboklab(59.39% 0.1689 -0.1623)
OKLCHoklch(59.39% 0.234 316.1)
XYZxyz(32.6052, 17.9213, 67.3738)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23ED9 #65D93E
analogous
#643ED9 #B23ED9 #D93EB3
triadic
#B23ED9 #D9B23E #3ED9B2
tetradic
#B23ED9 #D9643E #65D93E #3EB3D9
square
#B23ED9 #D9643E #65D93E #3EB3D9
split-complementary
#B23ED9 #B3D93E #3ED964
monochromatic
#681A83 #9124B6 #B23ED9 #C671E3 #DBA4ED

Accessibility & contrast

On white

4.58
#B23ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B23ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B23ED9
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23ED9#FFFFFF#000000##000000
##B23ED91.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3D79D6
Tritanopia (blue-blind)
#AF5E88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b23ed9;
/* rgb */ color: rgb(178, 62, 217);
/* oklch */ color: oklch(59.4% 0.234 316.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ee5',
    500: '#b23ed9',
    950: '#000000',
  },
}
SCSS
$custom: #b23ed9;
$custom-light: #cd7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ed9",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 284.903,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59387,
    "c": 0.23423,
    "h": 316.1
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#B23ED9
secondary
#A9DA99
accent
#EA3E69
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B23ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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