#B23BD1#B23BD1

#B23BD1 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.231 H 318.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B23BD1
RGBrgb(178, 59, 209)
HSLhsl(288, 62%, 53%)
HSVhsv(288, 72%, 82%)
CMYKcmyk(14.8%, 71.8%, 0%, 18%)
CIE-LABlab(48.51, 67.71, -54.53)
CIE-LCHlch(48.51, 86.93, 321.16°)
OKLaboklab(58.59% 0.1725 -0.1531)
OKLCHoklch(58.59% 0.231 318.4)
XYZxyz(31.4311, 17.1978, 61.9731)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BD1 #5AD13B
analogous
#673BD1 #B23BD1 #D13BA5
triadic
#B23BD1 #D1B23B #3BD1B2
tetradic
#B23BD1 #D1673B #5AD13B #3BA5D1
square
#B23BD1 #D1673B #5AD13B #3BA5D1
split-complementary
#B23BD1 #A5D13B #3BD167
monochromatic
#631C76 #8D27A7 #B23BD1 #C56DDD #D99EE8

Accessibility & contrast

On white

4.73
#B23BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B23BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BD1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BD1#FFFFFF#000000##FFFFFF
##B23BD11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#4377CE
Tritanopia (blue-blind)
#B15983
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23bd1;
/* rgb */ color: rgb(178, 59, 209);
/* oklch */ color: oklch(58.6% 0.231 318.4);
Tailwind
colors: {
  custom: {
    50: '#cd7ce0',
    500: '#b23bd1',
    950: '#000000',
  },
}
SCSS
$custom: #b23bd1;
$custom-light: #cd7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bd1",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 209
  },
  "hsl": {
    "h": 287.6,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58592,
    "c": 0.23063,
    "h": 318.4
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#B23BD1
secondary
#A1D493
accent
#E54364
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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