#B23AD5#B23AD5

#B23AD5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.235 H 317.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B23AD5
RGBrgb(178, 58, 213)
HSLhsl(286, 65%, 53%)
HSVhsv(286, 73%, 84%)
CMYKcmyk(16.4%, 72.8%, 0%, 16.5%)
CIE-LABlab(48.63, 68.82, -56.62)
CIE-LCHlch(48.63, 89.12, 320.56°)
OKLaboklab(58.76% 0.1731 -0.1592)
OKLCHoklch(58.76% 0.235 317.4)
XYZxyz(31.8816, 17.2966, 64.5971)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AD5 #5DD53A
analogous
#643AD5 #B23AD5 #D53AAA
triadic
#B23AD5 #D5B23A #3AD5B2
tetradic
#B23AD5 #D5643A #5DD53A #3AAAD5
square
#B23AD5 #D5643A #5DD53A #3AAAD5
split-complementary
#B23AD5 #AAD53A #3AD564
monochromatic
#651A7A #8E25AD #B23AD5 #C66CE0 #D99FEB

Accessibility & contrast

On white

4.71
#B23AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B23AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AD5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AD5#FFFFFF#000000##FFFFFF
##B23AD51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#3E77D2
Tritanopia (blue-blind)
#B05A85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23ad5;
/* rgb */ color: rgb(178, 58, 213);
/* oklch */ color: oklch(58.8% 0.235 317.4);
Tailwind
colors: {
  custom: {
    50: '#cd7ce3',
    500: '#b23ad5',
    950: '#000000',
  },
}
SCSS
$custom: #b23ad5;
$custom-light: #cd7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ad5",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 213
  },
  "hsl": {
    "h": 286.452,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.23516,
    "h": 317.4
  },
  "luminance": 0.17295
}

Semantic roles & 50–950 ramp

primary
#B23AD5
secondary
#A3D794
accent
#E84066
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A15
muted
#837C84

Preview Lab

Preview with #B23AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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