#B535DF#B535DF

#B535DF is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.4% C 0.250 H 316.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#B535DF
RGBrgb(181, 53, 223)
HSLhsl(285, 73%, 54%)
HSVhsv(285, 76%, 87%)
CMYKcmyk(18.8%, 76.2%, 0%, 12.5%)
CIE-LABlab(49.13, 72.97, -61.50)
CIE-LCHlch(49.13, 95.43, 319.88°)
OKLaboklab(59.41% 0.1797 -0.1734)
OKLCHoklch(59.41% 0.25 316)
XYZxyz(33.6464, 17.6990, 71.4416)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B535DF #5FDF35
analogous
#6035DF #B535DF #DF35B4
triadic
#B535DF #DFB535 #35DFB5
tetradic
#B535DF #DF6035 #5FDF35 #35B4DF
square
#B535DF #DF6035 #5FDF35 #35B4DF
split-complementary
#B535DF #B4DF35 #35DF60
monochromatic
#691585 #931DB9 #B535DF #C86AE7 #DC9FF0

Accessibility & contrast

On white

4.63
#B535DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B535DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B535DF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B535DF#FFFFFF#000000##FFFFFF
##B535DF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#B25C89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b535df;
/* rgb */ color: rgb(181, 53, 223);
/* oklch */ color: oklch(59.4% 0.250 316.0);
Tailwind
colors: {
  custom: {
    50: '#d07aea',
    500: '#b535df',
    950: '#000000',
  },
}
SCSS
$custom: #b535df;
$custom-light: #d07aea;
$custom-dark: #000000;
JSON
{
  "hex": "#b535df",
  "rgb": {
    "r": 181,
    "g": 53,
    "b": 223
  },
  "hsl": {
    "h": 285.176,
    "s": 72.65,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.24975,
    "h": 316
  },
  "luminance": 0.17698
}

Semantic roles & 50–950 ramp

primary
#B535DF
secondary
#A6DC94
accent
#EF3866
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B535DF

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

Preview Lab → · Contrast checker → · Palette generator →

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