#B57EF8#B57EF8

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

Color values

HEX#B57EF8
RGBrgb(181, 126, 248)
HSLhsl(267, 90%, 73%)
HSVhsv(267, 49%, 97%)
CMYKcmyk(27%, 49.2%, 0%, 2.7%)
CIE-LABlab(62.95, 44.90, -53.36)
CIE-LCHlch(62.95, 69.74, 310.08°)
OKLaboklab(69.91% 0.0969 -0.1499)
OKLCHoklch(69.91% 0.179 302.9)
XYZxyz(43.4564, 31.5228, 92.5838)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57EF8 #C1F87E
analogous
#7E84F8 #B57EF8 #F27EF8
triadic
#B57EF8 #F8B57E #7EF8B5
tetradic
#B57EF8 #F87E84 #C1F87E #7EF8F2
square
#B57EF8 #F87E84 #C1F87E #7EF8F2
split-complementary
#B57EF8 #F8F27E #84F87E
monochromatic
#730DEF #9444F5 #B57EF8 #D6B8FB #EEE2FD

Accessibility & contrast

On white

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

On black

7.30
#B57EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57EF8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57EF8#FFFFFF#000000##000000
##B57EF81.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#A994B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57ef8;
/* rgb */ color: rgb(181, 126, 248);
/* oklch */ color: oklch(69.9% 0.179 302.9);
Tailwind
colors: {
  custom: {
    50: '#cea5fb',
    500: '#b57ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b57ef8;
$custom-light: #cea5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b57ef8",
  "rgb": {
    "r": 181,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 267.049,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.17851,
    "h": 302.9
  },
  "luminance": 0.31523
}

Semantic roles & 50–950 ramp

primary
#B57EF8
secondary
#E7F6D5
accent
#E6007E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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