#B571EB#B571EB

#B571EB is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.183 H 308.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B571EB
RGBrgb(181, 113, 235)
HSLhsl(273, 75%, 68%)
HSVhsv(273, 52%, 92%)
CMYKcmyk(23%, 51.9%, 0%, 7.8%)
CIE-LABlab(59.56, 48.88, -51.55)
CIE-LCHlch(59.56, 71.04, 313.47°)
OKLaboklab(67.18% 0.1128 -0.1446)
OKLCHoklch(67.18% 0.183 308)
XYZxyz(39.9536, 27.6327, 81.8100)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571EB #A7EB71
analogous
#7871EB #B571EB #EB71E4
triadic
#B571EB #EBB571 #71EBB5
tetradic
#B571EB #EB7871 #A7EB71 #71E4EB
square
#B571EB #EB7871 #A7EB71 #71E4EB
split-complementary
#B571EB #E4EB71 #71EB78
monochromatic
#7B1CC6 #993BE3 #B571EB #D1A7F3 #EDDCFA

Accessibility & contrast

On white

3.22
#B571EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B571EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571EB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571EB#FFFFFF#000000##000000
##B571EB1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#AD86A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b571eb;
/* rgb */ color: rgb(181, 113, 235);
/* oklch */ color: oklch(67.2% 0.183 308.0);
Tailwind
colors: {
  custom: {
    50: '#ce9cf2',
    500: '#b571eb',
    950: '#000000',
  },
}
SCSS
$custom: #b571eb;
$custom-light: #ce9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b571eb",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 273.443,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67177,
    "c": 0.18337,
    "h": 308
  },
  "luminance": 0.27632
}

Semantic roles & 50–950 ramp

primary
#B571EB
secondary
#DAEEC9
accent
#D70E67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B571EB

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

Preview Lab → · Contrast checker → · Palette generator →

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