#B539F2#B539F2

#B539F2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 61.0% C 0.262 H 311.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B539F2
RGBrgb(181, 57, 242)
HSLhsl(280, 88%, 59%)
HSVhsv(280, 76%, 95%)
CMYKcmyk(25.2%, 76.4%, 0%, 5.1%)
CIE-LABlab(50.88, 75.32, -69.40)
CIE-LCHlch(50.88, 102.41, 317.34°)
OKLaboklab(61.05% 0.1733 -0.1966)
OKLCHoklch(61.05% 0.262 311.4)
XYZxyz(36.5432, 19.1618, 85.7607)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B539F2 #76F239
analogous
#5839F2 #B539F2 #F239D3
triadic
#B539F2 #F2B539 #39F2B5
tetradic
#B539F2 #F25839 #76F239 #39D3F2
square
#B539F2 #F25839 #76F239 #39D3F2
split-complementary
#B539F2 #D3F239 #39F258
monochromatic
#730BA6 #9A0FDF #B539F2 #CA72F6 #E0ACFA

Accessibility & contrast

On white

4.35
#B539F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B539F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B539F2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B539F2#FFFFFF#000000##000000
##B539F21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#087BEE
Tritanopia (blue-blind)
#AD6695
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b539f2;
/* rgb */ color: rgb(181, 57, 242);
/* oklch */ color: oklch(61.0% 0.262 311.4);
Tailwind
colors: {
  custom: {
    50: '#d17df7',
    500: '#b539f2',
    950: '#000000',
  },
}
SCSS
$custom: #b539f2;
$custom-light: #d17df7;
$custom-dark: #000000;
JSON
{
  "hex": "#b539f2",
  "rgb": {
    "r": 181,
    "g": 57,
    "b": 242
  },
  "hsl": {
    "h": 280.216,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.26209,
    "h": 311.4
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#B539F2
secondary
#B7E89F
accent
#FE2A70
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #B539F2

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

Preview Lab → · Contrast checker → · Palette generator →

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