#B541CA#B541CA

#B541CA is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.219 H 321.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B541CA
RGBrgb(181, 65, 202)
HSLhsl(291, 56%, 52%)
HSVhsv(291, 68%, 79%)
CMYKcmyk(10.4%, 67.8%, 0%, 20.8%)
CIE-LABlab(49.34, 64.77, -49.15)
CIE-LCHlch(49.34, 81.31, 322.81°)
OKLaboklab(59.14% 0.1704 -0.1373)
OKLCHoklch(59.14% 0.219 321.1)
XYZxyz(31.6058, 17.8703, 57.6502)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541CA #56CA41
analogous
#7141CA #B541CA #CA419B
triadic
#B541CA #CAB541 #41CAB5
tetradic
#B541CA #CA7141 #56CA41 #419BCA
square
#B541CA #CA7141 #56CA41 #419BCA
split-complementary
#B541CA #9BCA41 #41CA71
monochromatic
#652071 #8F2DA1 #B541CA #C871D7 #DAA1E5

Accessibility & contrast

On white

4.59
#B541CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B541CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B541CA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541CA#FFFFFF#000000##FFFFFF
##B541CA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106DCE
Deuteranopia (green-blind)
#507AC7
Tritanopia (blue-blind)
#B65981
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b541ca;
/* rgb */ color: rgb(181, 65, 202);
/* oklch */ color: oklch(59.1% 0.219 321.1);
Tailwind
colors: {
  custom: {
    50: '#cf7fdb',
    500: '#b541ca',
    950: '#000000',
  },
}
SCSS
$custom: #b541ca;
$custom-light: #cf7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b541ca",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 290.803,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.21881,
    "h": 321.1
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#B541CA
secondary
#9FD196
accent
#E0485F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B541CA

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

Preview Lab → · Contrast checker → · Palette generator →

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