#B541F0#B541F0

#B541F0 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.6% C 0.252 H 311.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B541F0
RGBrgb(181, 65, 240)
HSLhsl(280, 85%, 60%)
HSVhsv(280, 73%, 94%)
CMYKcmyk(24.6%, 72.9%, 0%, 5.9%)
CIE-LABlab(51.72, 72.10, -66.91)
CIE-LCHlch(51.72, 98.37, 317.14°)
OKLaboklab(61.6% 0.1669 -0.1894)
OKLCHoklch(61.6% 0.252 311.4)
XYZxyz(36.6716, 19.8966, 84.3298)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B541F0 #7CF041
analogous
#5D41F0 #B541F0 #F041D4
triadic
#B541F0 #F0B541 #41F0B5
tetradic
#B541F0 #F05D41 #7CF041 #41D4F0
square
#B541F0 #F05D41 #7CF041 #41D4F0
split-complementary
#B541F0 #D4F041 #41F05D
monochromatic
#750DA9 #9C12E2 #B541F0 #CB7AF4 #E1B2F9

Accessibility & contrast

On white

4.22
#B541F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B541F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B541F0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B541F0#FFFFFF#000000##000000
##B541F01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#AD6996
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b541f0;
/* rgb */ color: rgb(181, 65, 240);
/* oklch */ color: oklch(61.6% 0.252 311.4);
Tailwind
colors: {
  custom: {
    50: '#d080f6',
    500: '#b541f0',
    950: '#000000',
  },
}
SCSS
$custom: #b541f0;
$custom-light: #d080f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b541f0",
  "rgb": {
    "r": 181,
    "g": 65,
    "b": 240
  },
  "hsl": {
    "h": 279.771,
    "s": 85.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61597,
    "c": 0.25239,
    "h": 311.4
  },
  "luminance": 0.19896
}

Semantic roles & 50–950 ramp

primary
#B541F0
secondary
#BBE8A5
accent
#FC2C72
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B17
muted
#837C85

Preview Lab

Preview with #B541F0

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

Preview Lab → · Contrast checker → · Palette generator →

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