#B23AD4#B23AD4

#B23AD4 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.234 H 317.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B23AD4
RGBrgb(178, 58, 212)
HSLhsl(287, 64%, 53%)
HSVhsv(287, 73%, 83%)
CMYKcmyk(16%, 72.6%, 0%, 16.9%)
CIE-LABlab(48.57, 68.63, -56.15)
CIE-LCHlch(48.57, 88.67, 320.71°)
OKLaboklab(58.7% 0.1732 -0.1578)
OKLCHoklch(58.7% 0.234 317.7)
XYZxyz(31.7551, 17.2460, 63.9307)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23AD4 #5CD43A
analogous
#653AD4 #B23AD4 #D43AA9
triadic
#B23AD4 #D4B23A #3AD4B2
tetradic
#B23AD4 #D4653A #5CD43A #3AA9D4
square
#B23AD4 #D4653A #5CD43A #3AA9D4
split-complementary
#B23AD4 #A9D43A #3AD465
monochromatic
#641A79 #8E25AB #B23AD4 #C66CDF #D99EEA

Accessibility & contrast

On white

4.72
#B23AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B23AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23AD4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23AD4#FFFFFF#000000##FFFFFF
##B23AD41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#3F77D1
Tritanopia (blue-blind)
#B15A84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23ad4;
/* rgb */ color: rgb(178, 58, 212);
/* oklch */ color: oklch(58.7% 0.234 317.7);
Tailwind
colors: {
  custom: {
    50: '#cd7ce2',
    500: '#b23ad4',
    950: '#000000',
  },
}
SCSS
$custom: #b23ad4;
$custom-light: #cd7ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#b23ad4",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 212
  },
  "hsl": {
    "h": 286.753,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.2343,
    "h": 317.7
  },
  "luminance": 0.17245
}

Semantic roles & 50–950 ramp

primary
#B23AD4
secondary
#A2D694
accent
#E74165
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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