#B57EFE#B57EFE

#B57EFE is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.2% C 0.186 H 301.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B57EFE
RGBrgb(181, 126, 254)
HSLhsl(266, 98%, 75%)
HSVhsv(266, 50%, 100%)
CMYKcmyk(28.7%, 50.4%, 0%, 0.4%)
CIE-LABlab(63.26, 46.32, -56.16)
CIE-LCHlch(63.26, 72.80, 309.52°)
OKLaboklab(70.25% 0.0974 -0.1581)
OKLCHoklch(70.25% 0.186 301.6)
XYZxyz(44.4022, 31.9011, 97.5650)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57EFE #C7FE7E
analogous
#7E87FE #B57EFE #F57EFE
triadic
#B57EFE #FEB57E #7EFEB5
tetradic
#B57EFE #FE7E87 #C7FE7E #7EFEF5
square
#B57EFE #FE7E87 #C7FE7E #7EFEF5
split-complementary
#B57EFE #FEF57E #87FE7E
monochromatic
#6F05FD #9241FE #B57EFE #D8BBFE #EEE1FF

Accessibility & contrast

On white

2.85
#B57EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#B57EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57EFE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57EFE#FFFFFF#000000##000000
##B57EFE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6299FB
Tritanopia (blue-blind)
#A796B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b57efe;
/* rgb */ color: rgb(181, 126, 254);
/* oklch */ color: oklch(70.2% 0.186 301.6);
Tailwind
colors: {
  custom: {
    50: '#cea5ff',
    500: '#b57efe',
    950: '#000000',
  },
}
SCSS
$custom: #b57efe;
$custom-light: #cea5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b57efe",
  "rgb": {
    "r": 181,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 265.781,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70248,
    "c": 0.18569,
    "h": 301.6
  },
  "luminance": 0.31901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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