#B535C2#B535C2

#B535C2 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.226 H 323.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B535C2
RGBrgb(181, 53, 194)
HSLhsl(294, 57%, 48%)
HSVhsv(294, 73%, 76%)
CMYKcmyk(6.7%, 72.7%, 0%, 23.9%)
CIE-LABlab(47.32, 67.74, -47.74)
CIE-LCHlch(47.32, 82.87, 324.83°)
OKLaboklab(57.55% 0.1826 -0.1331)
OKLCHoklch(57.55% 0.226 323.9)
XYZxyz(30.0659, 16.2669, 52.5847)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535C2 #42C235
analogous
#6E35C2 #B535C2 #C23588
triadic
#B535C2 #C2B535 #35C2B5
tetradic
#B535C2 #C26E35 #42C235 #3588C2
square
#B535C2 #C26E35 #42C235 #3588C2
split-complementary
#B535C2 #88C235 #35C26E
monochromatic
#5B1B62 #882892 #B535C2 #C960D4 #D991E1

Accessibility & contrast

On white

4.94
#B535C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B535C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535C2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535C2#FFFFFF#000000##FFFFFF
##B535C21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#4F75BF
Tritanopia (blue-blind)
#B84E79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b535c2;
/* rgb */ color: rgb(181, 53, 194);
/* oklch */ color: oklch(57.5% 0.226 323.9);
Tailwind
colors: {
  custom: {
    50: '#cf79d5',
    500: '#b535c2',
    950: '#000000',
  },
}
SCSS
$custom: #b535c2;
$custom-light: #cf79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b535c2",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 294.468,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.22594,
    "h": 323.9
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#B535C2
secondary
#8ECC87
accent
#E04756
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B535C2

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

Preview Lab → · Contrast checker → · Palette generator →

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