#B571E7#B571E7

#B571E7 is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.179 H 309.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B571E7
RGBrgb(181, 113, 231)
HSLhsl(275, 71%, 67%)
HSVhsv(275, 51%, 91%)
CMYKcmyk(21.6%, 51.1%, 0%, 9.4%)
CIE-LABlab(59.35, 47.99, -49.66)
CIE-LCHlch(59.35, 69.05, 314.02°)
OKLaboklab(66.95% 0.1125 -0.1391)
OKLCHoklch(66.95% 0.179 309)
XYZxyz(39.3822, 27.4041, 78.8007)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571E7 #A3E771
analogous
#7A71E7 #B571E7 #E771DE
triadic
#B571E7 #E7B571 #71E7B5
tetradic
#B571E7 #E77A71 #A3E771 #71DEE7
square
#B571E7 #E77A71 #A3E771 #71DEE7
split-complementary
#B571E7 #DEE771 #71E77A
monochromatic
#7B20BE #9A3DDE #B571E7 #D0A5F0 #ECDAF9

Accessibility & contrast

On white

3.24
#B571E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B571E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571E7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571E7#FFFFFF#000000##000000
##B571E71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#6590E4
Tritanopia (blue-blind)
#AE85A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b571e7;
/* rgb */ color: rgb(181, 113, 231);
/* oklch */ color: oklch(67.0% 0.179 309.0);
Tailwind
colors: {
  custom: {
    50: '#ce9cef',
    500: '#b571e7',
    950: '#000000',
  },
}
SCSS
$custom: #b571e7;
$custom-light: #ce9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#b571e7",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 274.576,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66954,
    "c": 0.17884,
    "h": 309
  },
  "luminance": 0.27404
}

Semantic roles & 50–950 ramp

primary
#B571E7
secondary
#D7ECC7
accent
#D31264
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B571E7

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

Preview Lab → · Contrast checker → · Palette generator →

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