#B571DF#B571DF

#B571DF is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.170 H 311.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B571DF
RGBrgb(181, 113, 223)
HSLhsl(277, 63%, 66%)
HSVhsv(277, 49%, 87%)
CMYKcmyk(18.8%, 49.3%, 0%, 12.5%)
CIE-LABlab(58.94, 46.22, -45.83)
CIE-LCHlch(58.94, 65.09, 315.25°)
OKLaboklab(66.52% 0.1117 -0.1279)
OKLCHoklch(66.52% 0.17 311.1)
XYZxyz(38.2781, 26.9625, 72.9855)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571DF #9BDF71
analogous
#7E71DF #B571DF #DF71D2
triadic
#B571DF #DFB571 #71DFB5
tetradic
#B571DF #DF7E71 #9BDF71 #71D2DF
square
#B571DF #DF7E71 #9BDF71 #71D2DF
split-complementary
#B571DF #D2DF71 #71DF7E
monochromatic
#7B27AE #9B3FD4 #B571DF #CFA3EA #E9D5F6

Accessibility & contrast

On white

3.29
#B571DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B571DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571DF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571DF#FFFFFF#000000##000000
##B571DF1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE3
Deuteranopia (green-blind)
#6A8FDC
Tritanopia (blue-blind)
#B0839E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b571df;
/* rgb */ color: rgb(181, 113, 223);
/* oklch */ color: oklch(66.5% 0.170 311.1);
Tailwind
colors: {
  custom: {
    50: '#cd9ce9',
    500: '#b571df',
    950: '#000000',
  },
}
SCSS
$custom: #b571df;
$custom-light: #cd9ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#b571df",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 277.091,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6652,
    "c": 0.16978,
    "h": 311.1
  },
  "luminance": 0.26962
}

Semantic roles & 50–950 ramp

primary
#B571DF
secondary
#D2E8C4
accent
#CB1B5E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B571DF

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

Preview Lab → · Contrast checker → · Palette generator →

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