#B571F8#B571F8

#B571F8 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.9% C 0.198 H 305.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B571F8
RGBrgb(181, 113, 248)
HSLhsl(270, 91%, 71%)
HSVhsv(270, 54%, 97%)
CMYKcmyk(27%, 54.4%, 0%, 2.7%)
CIE-LABlab(60.26, 51.84, -57.64)
CIE-LCHlch(60.26, 77.52, 311.96°)
OKLaboklab(67.92% 0.1135 -0.1624)
OKLCHoklch(67.92% 0.198 305)
XYZxyz(41.9008, 28.4116, 92.0653)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571F8 #B4F871
analogous
#7171F8 #B571F8 #F871F8
triadic
#B571F8 #F8B571 #71F8B5
tetradic
#B571F8 #F87171 #B4F871 #71F8F8
square
#B571F8 #F87171 #B4F871 #71F8F8
split-complementary
#B571F8 #F8F871 #71F871
monochromatic
#780BE3 #9737F5 #B571F8 #D3ABFB #F0E2FE

Accessibility & contrast

On white

3.14
#B571F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B571F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571F8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571F8#FFFFFF#000000##000000
##B571F81.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFC
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#AA8AAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b571f8;
/* rgb */ color: rgb(181, 113, 248);
/* oklch */ color: oklch(67.9% 0.198 305.0);
Tailwind
colors: {
  custom: {
    50: '#ce9cfb',
    500: '#b571f8',
    950: '#000000',
  },
}
SCSS
$custom: #b571f8;
$custom-light: #ce9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b571f8",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 270.222,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67923,
    "c": 0.19813,
    "h": 305
  },
  "luminance": 0.28411
}

Semantic roles & 50–950 ramp

primary
#B571F8
secondary
#E2F5D0
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B571F8

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

Preview Lab → · Contrast checker → · Palette generator →

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