#B571F7#B571F7

#B571F7 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.9% C 0.197 H 305.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B571F7
RGBrgb(181, 113, 247)
HSLhsl(270, 89%, 71%)
HSVhsv(270, 54%, 97%)
CMYKcmyk(26.7%, 54.3%, 0%, 3.1%)
CIE-LABlab(60.20, 51.61, -57.18)
CIE-LCHlch(60.20, 77.02, 312.07°)
OKLaboklab(67.86% 0.1135 -0.161)
OKLCHoklch(67.86% 0.197 305.2)
XYZxyz(41.7461, 28.3497, 91.2504)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571F7 #B3F771
analogous
#7271F7 #B571F7 #F771F6
triadic
#B571F7 #F7B571 #71F7B5
tetradic
#B571F7 #F77271 #B3F771 #71F6F7
square
#B571F7 #F77271 #B3F771 #71F6F7
split-complementary
#B571F7 #F6F771 #71F772
monochromatic
#780DE1 #9737F4 #B571F7 #D3ABFA #F0E2FD

Accessibility & contrast

On white

3.15
#B571F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B571F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571F7
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571F7#FFFFFF#000000##000000
##B571F71.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFB
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#AA8AA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b571f7;
/* rgb */ color: rgb(181, 113, 247);
/* oklch */ color: oklch(67.9% 0.197 305.2);
Tailwind
colors: {
  custom: {
    50: '#ce9cfa',
    500: '#b571f7',
    950: '#000000',
  },
}
SCSS
$custom: #b571f7;
$custom-light: #ce9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b571f7",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 270.448,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67864,
    "c": 0.197,
    "h": 305.2
  },
  "luminance": 0.28349
}

Semantic roles & 50–950 ramp

primary
#B571F7
secondary
#E2F4D0
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B571F7

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

Preview Lab → · Contrast checker → · Palette generator →

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