#B538C3#B538C3

#B538C3 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.223 H 323.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B538C3
RGBrgb(181, 56, 195)
HSLhsl(294, 55%, 49%)
HSVhsv(294, 71%, 76%)
CMYKcmyk(7.2%, 71.3%, 0%, 23.5%)
CIE-LABlab(47.74, 66.88, -47.65)
CIE-LCHlch(47.74, 82.11, 324.53°)
OKLaboklab(57.87% 0.1797 -0.1328)
OKLCHoklch(57.87% 0.223 323.5)
XYZxyz(30.3197, 16.5940, 53.2252)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B538C3 #46C338
analogous
#7038C3 #B538C3 #C3388C
triadic
#B538C3 #C3B538 #38C3B5
tetradic
#B538C3 #C37038 #46C338 #388CC3
square
#B538C3 #C37038 #46C338 #388CC3
split-complementary
#B538C3 #8CC338 #38C370
monochromatic
#5D1D64 #892A93 #B538C3 #C865D3 #D995E1

Accessibility & contrast

On white

4.86
#B538C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B538C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B538C3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B538C3#FFFFFF#000000##FFFFFF
##B538C31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0168C7
Deuteranopia (green-blind)
#5076C0
Tritanopia (blue-blind)
#B8507A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b538c3;
/* rgb */ color: rgb(181, 56, 195);
/* oklch */ color: oklch(57.9% 0.223 323.5);
Tailwind
colors: {
  custom: {
    50: '#cf7ad6',
    500: '#b538c3',
    950: '#000000',
  },
}
SCSS
$custom: #b538c3;
$custom-light: #cf7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b538c3",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 293.957,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.22348,
    "h": 323.5
  },
  "luminance": 0.16592
}

Semantic roles & 50–950 ramp

primary
#B538C3
secondary
#92CC8B
accent
#DF4958
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B538C3

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

Preview Lab → · Contrast checker → · Palette generator →

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