#B571E2#B571E2

#B571E2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.173 H 310.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B571E2
RGBrgb(181, 113, 226)
HSLhsl(276, 66%, 66%)
HSVhsv(276, 50%, 89%)
CMYKcmyk(19.9%, 50%, 0%, 11.4%)
CIE-LABlab(59.09, 46.88, -47.27)
CIE-LCHlch(59.09, 66.57, 314.76°)
OKLaboklab(66.68% 0.112 -0.1321)
OKLCHoklch(66.68% 0.173 310.3)
XYZxyz(38.6861, 27.1257, 75.1346)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571E2 #9EE271
analogous
#7D71E2 #B571E2 #E271D7
triadic
#B571E2 #E2B571 #71E2B5
tetradic
#B571E2 #E27D71 #9EE271 #71D7E2
square
#B571E2 #E27D71 #9EE271 #71D7E2
split-complementary
#B571E2 #D7E271 #71E27D
monochromatic
#7B25B4 #9B3ED8 #B571E2 #CFA4EC #EAD7F7

Accessibility & contrast

On white

3.27
#B571E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B571E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571E2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571E2#FFFFFF#000000##000000
##B571E21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#688FDF
Tritanopia (blue-blind)
#B0849F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b571e2;
/* rgb */ color: rgb(181, 113, 226);
/* oklch */ color: oklch(66.7% 0.173 310.3);
Tailwind
colors: {
  custom: {
    50: '#cd9ceb',
    500: '#b571e2',
    950: '#000000',
  },
}
SCSS
$custom: #b571e2;
$custom-light: #cd9ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#b571e2",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 276.106,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66681,
    "c": 0.17317,
    "h": 310.3
  },
  "luminance": 0.27125
}

Semantic roles & 50–950 ramp

primary
#B571E2
secondary
#D4EAC5
accent
#CE1860
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B571E2

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

Preview Lab → · Contrast checker → · Palette generator →

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