#B571F5#B571F5

#B571F5 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.7% C 0.195 H 305.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B571F5
RGBrgb(181, 113, 245)
HSLhsl(271, 87%, 70%)
HSVhsv(271, 54%, 96%)
CMYKcmyk(26.1%, 53.9%, 0%, 3.9%)
CIE-LABlab(60.09, 51.15, -56.25)
CIE-LCHlch(60.09, 76.02, 312.28°)
OKLaboklab(67.75% 0.1134 -0.1583)
OKLCHoklch(67.75% 0.195 305.6)
XYZxyz(41.4391, 28.2269, 89.6338)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571F5 #B1F571
analogous
#7371F5 #B571F5 #F571F3
triadic
#B571F5 #F5B571 #71F5B5
tetradic
#B571F5 #F57371 #B1F571 #71F3F5
square
#B571F5 #F57371 #B1F571 #71F3F5
split-complementary
#B571F5 #F3F571 #71F573
monochromatic
#7910DC #9738F1 #B571F5 #D3AAF9 #F0E2FD

Accessibility & contrast

On white

3.16
#B571F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B571F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571F5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571F5#FFFFFF#000000##000000
##B571F51.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#AA8AA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b571f5;
/* rgb */ color: rgb(181, 113, 245);
/* oklch */ color: oklch(67.7% 0.195 305.6);
Tailwind
colors: {
  custom: {
    50: '#ce9cf9',
    500: '#b571f5',
    950: '#000000',
  },
}
SCSS
$custom: #b571f5;
$custom-light: #ce9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b571f5",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 270.909,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67747,
    "c": 0.19473,
    "h": 305.6
  },
  "luminance": 0.28227
}

Semantic roles & 50–950 ramp

primary
#B571F5
secondary
#E0F3CF
accent
#E3026F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B571F5

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

Preview Lab → · Contrast checker → · Palette generator →

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