#B535C1#B535C1

#B535C1 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.225 H 324.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B535C1
RGBrgb(181, 53, 193)
HSLhsl(295, 57%, 48%)
HSVhsv(295, 73%, 76%)
CMYKcmyk(6.2%, 72.5%, 0%, 24.3%)
CIE-LABlab(47.26, 67.57, -47.25)
CIE-LCHlch(47.26, 82.45, 325.03°)
OKLaboklab(57.49% 0.1826 -0.1317)
OKLCHoklch(57.49% 0.225 324.2)
XYZxyz(29.9540, 16.2221, 51.9952)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535C1 #41C135
analogous
#6F35C1 #B535C1 #C13587
triadic
#B535C1 #C1B535 #35C1B5
tetradic
#B535C1 #C16F35 #41C135 #3587C1
square
#B535C1 #C16F35 #41C135 #3587C1
split-complementary
#B535C1 #87C135 #35C16F
monochromatic
#5B1B61 #882891 #B535C1 #C960D3 #DA90E0

Accessibility & contrast

On white

4.95
#B535C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B535C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535C1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535C1#FFFFFF#000000##FFFFFF
##B535C11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#4F75BE
Tritanopia (blue-blind)
#B84E78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b535c1;
/* rgb */ color: rgb(181, 53, 193);
/* oklch */ color: oklch(57.5% 0.225 324.2);
Tailwind
colors: {
  custom: {
    50: '#cf79d4',
    500: '#b535c1',
    950: '#000000',
  },
}
SCSS
$custom: #b535c1;
$custom-light: #cf79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b535c1",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 294.857,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.22515,
    "h": 324.2
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#B535C1
secondary
#8CCB87
accent
#E04855
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B535C1

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

Preview Lab → · Contrast checker → · Palette generator →

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