#B52EFB#B52EFB

#B52EFB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.9% C 0.279 H 310.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B52EFB
RGBrgb(181, 46, 251)
HSLhsl(280, 96%, 58%)
HSVhsv(280, 82%, 98%)
CMYKcmyk(27.9%, 81.7%, 0%, 1.6%)
CIE-LABlab(50.39, 80.38, -75.23)
CIE-LCHlch(50.39, 110.10, 316.90°)
OKLaboklab(60.91% 0.1791 -0.2137)
OKLCHoklch(60.91% 0.279 310)
XYZxyz(37.4421, 18.7436, 92.8935)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52EFB #74FB2E
analogous
#4E2EFB #B52EFB #FB2EDB
triadic
#B52EFB #FBB52E #2EFBB5
tetradic
#B52EFB #FB4E2E #74FB2E #2EDBFB
square
#B52EFB #FB4E2E #74FB2E #2EDBFB
split-complementary
#B52EFB #DBFB2E #2EFB4E
monochromatic
#7203AB #9A04E7 #B52EFB #CA6AFC #E0A6FD

Accessibility & contrast

On white

4.42
#B52EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B52EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B52EFB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52EFB#FFFFFF#000000##000000
##B52EFB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#AB6698
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b52efb;
/* rgb */ color: rgb(181, 46, 251);
/* oklch */ color: oklch(60.9% 0.279 310.0);
Tailwind
colors: {
  custom: {
    50: '#d279fe',
    500: '#b52efb',
    950: '#000000',
  },
}
SCSS
$custom: #b52efb;
$custom-light: #d279fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b52efb",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 251
  },
  "hsl": {
    "h": 279.512,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.27884,
    "h": 310
  },
  "luminance": 0.18743
}

Semantic roles & 50–950 ramp

primary
#B52EFB
secondary
#B5EB9A
accent
#FF2972
background
#FDF7FF
surface
#FBEEFF
border
#D4C9D7
text
#150A18
muted
#837C86

Preview Lab

Preview with #B52EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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