#B535CA#B535CA

#B535CA is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.232 H 321.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B535CA
RGBrgb(181, 53, 202)
HSLhsl(292, 58%, 50%)
HSVhsv(292, 74%, 79%)
CMYKcmyk(10.4%, 73.8%, 0%, 20.8%)
CIE-LABlab(47.80, 69.14, -51.61)
CIE-LCHlch(47.80, 86.28, 323.26°)
OKLaboklab(58.04% 0.1821 -0.1444)
OKLCHoklch(58.04% 0.232 321.6)
XYZxyz(30.9887, 16.6360, 57.4445)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535CA #4ACA35
analogous
#6B35CA #B535CA #CA3594
triadic
#B535CA #CAB535 #35CAB5
tetradic
#B535CA #CA6B35 #4ACA35 #3594CA
square
#B535CA #CA6B35 #4ACA35 #3594CA
split-complementary
#B535CA #94CA35 #35CA6B
monochromatic
#5E1C69 #8A289A #B535CA #C765D7 #D996E3

Accessibility & contrast

On white

4.85
#B535CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B535CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B535CA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535CA#FFFFFF#000000##FFFFFF
##B535CA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#4976C7
Tritanopia (blue-blind)
#B7527D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b535ca;
/* rgb */ color: rgb(181, 53, 202);
/* oklch */ color: oklch(58.0% 0.232 321.6);
Tailwind
colors: {
  custom: {
    50: '#cf79db',
    500: '#b535ca',
    950: '#000000',
  },
}
SCSS
$custom: #b535ca;
$custom-light: #cf79db;
$custom-dark: #000000;
JSON
{
  "hex": "#b535ca",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 291.544,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.5804,
    "c": 0.23242,
    "h": 321.6
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#B535CA
secondary
#95CF8C
accent
#E2465C
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B535CA

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

Preview Lab → · Contrast checker → · Palette generator →

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