#B526C7#B526C7

#B526C7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.8% C 0.244 H 322.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B526C7
RGBrgb(181, 38, 199)
HSLhsl(293, 68%, 46%)
HSVhsv(293, 81%, 78%)
CMYKcmyk(9%, 80.9%, 0%, 22%)
CIE-LABlab(46.09, 73.02, -52.61)
CIE-LCHlch(46.09, 90.00, 324.23°)
OKLaboklab(56.77% 0.1942 -0.1472)
OKLCHoklch(56.77% 0.244 322.8)
XYZxyz(30.0570, 15.3354, 55.3986)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B526C7 #38C726
analogous
#6526C7 #B526C7 #C72689
triadic
#B526C7 #C7B526 #26C7B5
tetradic
#B526C7 #C76526 #38C726 #2689C7
square
#B526C7 #C76526 #38C726 #2689C7
split-complementary
#B526C7 #89C726 #26C765
monochromatic
#581260 #861C94 #B526C7 #CD4DDD #DB81E7

Accessibility & contrast

On white

5.16
#B526C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B526C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B526C7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B526C7#FFFFFF#000000##FFFFFF
##B526C71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#4372C3
Tritanopia (blue-blind)
#B84978
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b526c7;
/* rgb */ color: rgb(181, 38, 199);
/* oklch */ color: oklch(56.8% 0.244 322.8);
Tailwind
colors: {
  custom: {
    50: '#d073d9',
    500: '#b526c7',
    950: '#000000',
  },
}
SCSS
$custom: #b526c7;
$custom-light: #d073d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b526c7",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 293.292,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.24375,
    "h": 322.8
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#B526C7
secondary
#83CF79
accent
#EB3D50
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140915
muted
#837B83

Preview Lab

Preview with #B526C7

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

Preview Lab → · Contrast checker → · Palette generator →

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