#B571DB#B571DB

#B571DB is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.165 H 312.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B571DB
RGBrgb(181, 113, 219)
HSLhsl(278, 60%, 65%)
HSVhsv(278, 48%, 86%)
CMYKcmyk(17.4%, 48.4%, 0%, 14.1%)
CIE-LABlab(58.74, 45.36, -43.90)
CIE-LCHlch(58.74, 63.12, 315.94°)
OKLaboklab(66.31% 0.1112 -0.1223)
OKLCHoklch(66.31% 0.165 312.3)
XYZxyz(37.7451, 26.7493, 70.1789)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B571DB #97DB71
analogous
#8071DB #B571DB #DB71CC
triadic
#B571DB #DBB571 #71DBB5
tetradic
#B571DB #DB8071 #97DB71 #71CCDB
square
#B571DB #DB8071 #97DB71 #71CCDB
split-complementary
#B571DB #CCDB71 #71DB80
monochromatic
#7A2AA7 #9C40CF #B571DB #CEA2E7 #E8D3F4

Accessibility & contrast

On white

3.31
#B571DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B571DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B571DB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B571DB#FFFFFF#000000##000000
##B571DB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#6C8FD8
Tritanopia (blue-blind)
#B1829C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b571db;
/* rgb */ color: rgb(181, 113, 219);
/* oklch */ color: oklch(66.3% 0.165 312.3);
Tailwind
colors: {
  custom: {
    50: '#cd9ce6',
    500: '#b571db',
    950: '#000000',
  },
}
SCSS
$custom: #b571db;
$custom-light: #cd9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#b571db",
  "rgb": {
    "r": 181,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 278.491,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.16528,
    "h": 312.3
  },
  "luminance": 0.26748
}

Semantic roles & 50–950 ramp

primary
#B571DB
secondary
#CFE6C2
accent
#C71E5B
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B571DB

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

Preview Lab → · Contrast checker → · Palette generator →

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