#B523BC#B523BC

#B523BC is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.238 H 326.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B523BC
RGBrgb(181, 35, 188)
HSLhsl(297, 69%, 44%)
HSVhsv(297, 81%, 74%)
CMYKcmyk(3.7%, 81.4%, 0%, 26.3%)
CIE-LABlab(45.16, 71.94, -47.69)
CIE-LCHlch(45.16, 86.31, 326.46°)
OKLaboklab(55.9% 0.1973 -0.1328)
OKLCHoklch(55.9% 0.238 326)
XYZxyz(28.7336, 14.6587, 48.8832)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B523BC #2ABC23
analogous
#6823BC #B523BC #BC2376
triadic
#B523BC #BCB523 #23BCB5
tetradic
#B523BC #BC6823 #2ABC23 #2376BC
square
#B523BC #BC6823 #2ABC23 #2376BC
split-complementary
#B523BC #76BC23 #23BC68
monochromatic
#521055 #831988 #B523BC #D441DC #E074E5

Accessibility & contrast

On white

5.34
#B523BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B523BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B523BC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B523BC#FFFFFF#000000##FFFFFF
##B523BC1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#BA4171
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b523bc;
/* rgb */ color: rgb(181, 35, 188);
/* oklch */ color: oklch(55.9% 0.238 326.0);
Tailwind
colors: {
  custom: {
    50: '#d072d1',
    500: '#b523bc',
    950: '#000000',
  },
}
SCSS
$custom: #b523bc;
$custom-light: #d072d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b523bc",
  "rgb": {
    "r": 181,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 297.255,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.23787,
    "h": 326
  },
  "luminance": 0.14657
}

Semantic roles & 50–950 ramp

primary
#B523BC
secondary
#73CC6F
accent
#EB3C44
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B523BC

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

Preview Lab → · Contrast checker → · Palette generator →

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