#B535EA#B535EA

#B535EA is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.2% C 0.259 H 313.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B535EA
RGBrgb(181, 53, 234)
HSLhsl(282, 81%, 56%)
HSVhsv(282, 77%, 92%)
CMYKcmyk(22.6%, 77.4%, 0%, 8.2%)
CIE-LABlab(49.87, 75.06, -66.53)
CIE-LCHlch(49.87, 100.30, 318.45°)
OKLaboklab(60.16% 0.1779 -0.1882)
OKLCHoklch(60.16% 0.259 313.4)
XYZxyz(35.1778, 18.3116, 79.5074)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535EA #6AEA35
analogous
#5B35EA #B535EA #EA35C5
triadic
#B535EA #EAB535 #35EAB5
tetradic
#B535EA #EA5B35 #6AEA35 #35C5EA
square
#B535EA #EA5B35 #6AEA35 #35C5EA
split-complementary
#B535EA #C5EA35 #35EA5B
monochromatic
#6E1095 #9715CD #B535EA #C96CF0 #DEA4F6

Accessibility & contrast

On white

4.50
#B535EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B535EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B535EA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535EA#FFFFFF#000000##000000
##B535EA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#1E79E6
Tritanopia (blue-blind)
#AF6190
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b535ea;
/* rgb */ color: rgb(181, 53, 234);
/* oklch */ color: oklch(60.2% 0.259 313.4);
Tailwind
colors: {
  custom: {
    50: '#d07bf2',
    500: '#b535ea',
    950: '#000000',
  },
}
SCSS
$custom: #b535ea;
$custom-light: #d07bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b535ea",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 234
  },
  "hsl": {
    "h": 282.431,
    "s": 81.166,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60164,
    "c": 0.25896,
    "h": 313.4
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#B535EA
secondary
#AEE398
accent
#F8306B
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150A17
muted
#837C85

Preview Lab

Preview with #B535EA

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

Preview Lab → · Contrast checker → · Palette generator →

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