#B57DFB#B57DFB

#B57DFB is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.184 H 302.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B57DFB
RGBrgb(181, 125, 251)
HSLhsl(267, 94%, 74%)
HSVhsv(267, 50%, 98%)
CMYKcmyk(27.9%, 50.2%, 0%, 1.6%)
CIE-LABlab(62.89, 46.15, -55.10)
CIE-LCHlch(62.89, 71.87, 309.95°)
OKLaboklab(69.92% 0.0985 -0.155)
OKLCHoklch(69.92% 0.184 302.4)
XYZxyz(43.7983, 31.4560, 95.0123)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DFB #C3FB7D
analogous
#7D84FB #B57DFB #F47DFB
triadic
#B57DFB #FBB57D #7DFBB5
tetradic
#B57DFB #FB7D84 #C3FB7D #7DFBF4
square
#B57DFB #FB7D84 #C3FB7D #7DFBF4
split-complementary
#B57DFB #FBF47D #84FB7D
monochromatic
#7208F6 #9342F9 #B57DFB #D7B8FD #EEE1FE

Accessibility & contrast

On white

2.88
#B57DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B57DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DFB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DFB#FFFFFF#000000##000000
##B57DFB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#A894B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57dfb;
/* rgb */ color: rgb(181, 125, 251);
/* oklch */ color: oklch(69.9% 0.184 302.4);
Tailwind
colors: {
  custom: {
    50: '#cea4fd',
    500: '#b57dfb',
    950: '#000000',
  },
}
SCSS
$custom: #b57dfb;
$custom-light: #cea4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b57dfb",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 266.667,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69921,
    "c": 0.18362,
    "h": 302.4
  },
  "luminance": 0.31456
}

Semantic roles & 50–950 ramp

primary
#B57DFB
secondary
#E7F6D5
accent
#E6007F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B57DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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