#B571EC#B571EC

#B571EC is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.185 H 307.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B571EC
RGBrgb(181, 113, 236)
HSLhsl(273, 76%, 68%)
HSVhsv(273, 52%, 93%)
CMYKcmyk(23.3%, 52.1%, 0%, 7.5%)
CIE-LABlab(59.61, 49.10, -52.03)
CIE-LCHlch(59.61, 71.54, 313.35°)
OKLaboklab(67.23% 0.1129 -0.146)
OKLCHoklch(67.23% 0.185 307.7)
XYZxyz(40.0985, 27.6906, 82.5730)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571EC #A8EC71
analogous
#7771EC #B571EC #EC71E5
triadic
#B571EC #ECB571 #71ECB5
tetradic
#B571EC #EC7771 #A8EC71 #71E5EC
square
#B571EC #EC7771 #A8EC71 #71E5EC
split-complementary
#B571EC #E5EC71 #71EC77
monochromatic
#7A1BC8 #993BE5 #B571EC #D1A7F3 #EDDDFA

Accessibility & contrast

On white

3.21
#B571EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B571EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571EC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571EC#FFFFFF#000000##000000
##B571EC1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#AD87A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b571ec;
/* rgb */ color: rgb(181, 113, 236);
/* oklch */ color: oklch(67.2% 0.185 307.7);
Tailwind
colors: {
  custom: {
    50: '#ce9cf3',
    500: '#b571ec',
    950: '#000000',
  },
}
SCSS
$custom: #b571ec;
$custom-light: #ce9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b571ec",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 273.171,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67233,
    "c": 0.18451,
    "h": 307.7
  },
  "luminance": 0.2769
}

Semantic roles & 50–950 ramp

primary
#B571EC
secondary
#DAEFCA
accent
#D90D68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B571EC

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

Preview Lab → · Contrast checker → · Palette generator →

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