#B57BFD#B57BFD

#B57BFD is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.189 H 302.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#B57BFD
RGBrgb(181, 123, 253)
HSLhsl(267, 97%, 74%)
HSVhsv(267, 51%, 99%)
CMYKcmyk(28.5%, 51.4%, 0%, 0.8%)
CIE-LABlab(62.58, 47.70, -56.70)
CIE-LCHlch(62.58, 74.10, 310.07°)
OKLaboklab(69.72% 0.1012 -0.1597)
OKLCHoklch(69.72% 0.189 302.4)
XYZxyz(43.8646, 31.0815, 96.5979)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BFD #C3FD7B
analogous
#7B82FD #B57BFD #F67BFD
triadic
#B57BFD #FDB57B #7BFDB5
tetradic
#B57BFD #FD7B82 #C3FD7B #7BFDF6
square
#B57BFD #FD7B82 #C3FD7B #7BFDF6
split-complementary
#B57BFD #FDF67B #82FD7B
monochromatic
#7204FA #933FFC #B57BFD #D7B7FE #EEE1FF

Accessibility & contrast

On white

2.91
#B57BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#B57BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BFD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BFD#FFFFFF#000000##000000
##B57BFD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#6097FA
Tritanopia (blue-blind)
#A893B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57bfd;
/* rgb */ color: rgb(181, 123, 253);
/* oklch */ color: oklch(69.7% 0.189 302.4);
Tailwind
colors: {
  custom: {
    50: '#cea3ff',
    500: '#b57bfd',
    950: '#000000',
  },
}
SCSS
$custom: #b57bfd;
$custom-light: #cea3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bfd",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 266.769,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.18902,
    "h": 302.4
  },
  "luminance": 0.31082
}

Semantic roles & 50–950 ramp

primary
#B57BFD
secondary
#E7F7D4
accent
#E6007F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B57BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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