#B57DFE#B57DFE

#B57DFE is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.1% C 0.187 H 301.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#B57DFE
RGBrgb(181, 125, 254)
HSLhsl(266, 98%, 74%)
HSVhsv(266, 51%, 100%)
CMYKcmyk(28.7%, 50.8%, 0%, 0.4%)
CIE-LABlab(63.05, 46.86, -56.49)
CIE-LCHlch(63.05, 73.40, 309.68°)
OKLaboklab(70.09% 0.0987 -0.1591)
OKLCHoklch(70.09% 0.187 301.8)
XYZxyz(44.2750, 31.6467, 97.5226)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DFE #C6FE7D
analogous
#7D86FE #B57DFE #F67DFE
triadic
#B57DFE #FEB57D #7DFEB5
tetradic
#B57DFE #FE7D86 #C6FE7D #7DFEF6
square
#B57DFE #FE7D86 #C6FE7D #7DFEF6
split-complementary
#B57DFE #FEF67D #86FE7D
monochromatic
#7004FD #9240FE #B57DFE #D8BAFE #EEE1FF

Accessibility & contrast

On white

2.87
#B57DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#B57DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DFE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DFE#FFFFFF#000000##000000
##B57DFE1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#A795B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b57dfe;
/* rgb */ color: rgb(181, 125, 254);
/* oklch */ color: oklch(70.1% 0.187 301.8);
Tailwind
colors: {
  custom: {
    50: '#cea4ff',
    500: '#b57dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b57dfe;
$custom-light: #cea4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b57dfe",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 266.047,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70091,
    "c": 0.1872,
    "h": 301.8
  },
  "luminance": 0.31647
}

Semantic roles & 50–950 ramp

primary
#B57DFE
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B57DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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