#B23BCD#B23BCD

#B23BCD is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.227 H 319.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B23BCD
RGBrgb(178, 59, 205)
HSLhsl(289, 59%, 52%)
HSVhsv(289, 71%, 80%)
CMYKcmyk(13.2%, 71.2%, 0%, 19.6%)
CIE-LABlab(48.26, 66.96, -52.62)
CIE-LCHlch(48.26, 85.17, 321.84°)
OKLaboklab(58.34% 0.1728 -0.1475)
OKLCHoklch(58.34% 0.227 319.5)
XYZxyz(30.9421, 17.0022, 59.3977)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BCD #56CD3B
analogous
#693BCD #B23BCD #CD3B9F
triadic
#B23BCD #CDB23B #3BCDB2
tetradic
#B23BCD #CD693B #56CD3B #3B9FCD
square
#B23BCD #CD693B #56CD3B #3B9FCD
split-complementary
#B23BCD #9FCD3B #3BCD69
monochromatic
#611D71 #8B29A2 #B23BCD #C56CD9 #D89DE6

Accessibility & contrast

On white

4.77
#B23BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B23BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BCD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BCD#FFFFFF#000000##FFFFFF
##B23BCD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#B25781
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b23bcd;
/* rgb */ color: rgb(178, 59, 205);
/* oklch */ color: oklch(58.3% 0.227 319.5);
Tailwind
colors: {
  custom: {
    50: '#cd7cdd',
    500: '#b23bcd',
    950: '#000000',
  },
}
SCSS
$custom: #b23bcd;
$custom-light: #cd7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bcd",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 288.904,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58339,
    "c": 0.22721,
    "h": 319.5
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#B23BCD
secondary
#9ED292
accent
#E34562
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B23BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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