#B571F3#B571F3

#B571F3 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.6% C 0.192 H 306.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B571F3
RGBrgb(181, 113, 243)
HSLhsl(271, 84%, 70%)
HSVhsv(271, 53%, 95%)
CMYKcmyk(25.5%, 53.5%, 0%, 4.7%)
CIE-LABlab(59.98, 50.69, -55.31)
CIE-LCHlch(59.98, 75.03, 312.50°)
OKLaboklab(67.63% 0.1133 -0.1556)
OKLCHoklch(67.63% 0.192 306.1)
XYZxyz(41.1355, 28.1054, 88.0345)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571F3 #AFF371
analogous
#7471F3 #B571F3 #F371F0
triadic
#B571F3 #F3B571 #71F3B5
tetradic
#B571F3 #F37471 #AFF371 #71F0F3
square
#B571F3 #F37471 #AFF371 #71F0F3
split-complementary
#B571F3 #F0F371 #71F374
monochromatic
#7912D7 #9839EE #B571F3 #D2A9F8 #F0E2FD

Accessibility & contrast

On white

3.17
#B571F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B571F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571F3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571F3#FFFFFF#000000##000000
##B571F31.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF7
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#AB89A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b571f3;
/* rgb */ color: rgb(181, 113, 243);
/* oklch */ color: oklch(67.6% 0.192 306.1);
Tailwind
colors: {
  custom: {
    50: '#ce9cf8',
    500: '#b571f3',
    950: '#000000',
  },
}
SCSS
$custom: #b571f3;
$custom-light: #ce9cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b571f3",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 271.385,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67632,
    "c": 0.19246,
    "h": 306.1
  },
  "luminance": 0.28105
}

Semantic roles & 50–950 ramp

primary
#B571F3
secondary
#DFF2CE
accent
#E1056E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B571F3

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

Preview Lab → · Contrast checker → · Palette generator →

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