#B23BD2#B23BD2

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

Color values

HEX#B23BD2
RGBrgb(178, 59, 210)
HSLhsl(287, 63%, 53%)
HSVhsv(287, 72%, 82%)
CMYKcmyk(15.2%, 71.9%, 0%, 17.6%)
CIE-LABlab(48.57, 67.90, -55.00)
CIE-LCHlch(48.57, 87.38, 320.99°)
OKLaboklab(58.66% 0.1724 -0.1545)
OKLCHoklch(58.66% 0.231 318.1)
XYZxyz(31.5553, 17.2475, 62.6272)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BD2 #5BD23B
analogous
#673BD2 #B23BD2 #D23BA6
triadic
#B23BD2 #D2B23B #3BD2B2
tetradic
#B23BD2 #D2673B #5BD23B #3BA6D2
square
#B23BD2 #D2673B #5BD23B #3BA6D2
split-complementary
#B23BD2 #A6D23B #3BD267
monochromatic
#641B77 #8D27A9 #B23BD2 #C66DDD #D99FE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23BD2#FFFFFF#000000##FFFFFF
##B23BD21.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)
#006CD6
Deuteranopia (green-blind)
#4277CF
Tritanopia (blue-blind)
#B15983
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23bd2;
/* rgb */ color: rgb(178, 59, 210);
/* oklch */ color: oklch(58.7% 0.231 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd7ce0',
    500: '#b23bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b23bd2;
$custom-light: #cd7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bd2",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 287.285,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.23149,
    "h": 318.1
  },
  "luminance": 0.17246
}

Semantic roles & 50–950 ramp

primary
#B23BD2
secondary
#A2D594
accent
#E64265
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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