#B57EF4#B57EF4

#B57EF4 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.174 H 303.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B57EF4
RGBrgb(181, 126, 244)
HSLhsl(268, 84%, 73%)
HSVhsv(268, 48%, 96%)
CMYKcmyk(25.8%, 48.4%, 0%, 4.3%)
CIE-LABlab(62.74, 43.97, -51.48)
CIE-LCHlch(62.74, 67.70, 310.50°)
OKLaboklab(69.69% 0.0965 -0.1444)
OKLCHoklch(69.69% 0.174 303.7)
XYZxyz(42.8425, 31.2772, 89.3505)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57EF4 #BDF47E
analogous
#7E82F4 #B57EF4 #F07EF4
triadic
#B57EF4 #F4B57E #7EF4B5
tetradic
#B57EF4 #F47E82 #BDF47E #7EF4F0
square
#B57EF4 #F47E82 #BDF47E #7EF4F0
split-complementary
#B57EF4 #F4F07E #82F47E
monochromatic
#7513E4 #9546EF #B57EF4 #D5B6F9 #EFE3FD

Accessibility & contrast

On white

2.89
#B57EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B57EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57EF4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57EF4#FFFFFF#000000##000000
##B57EF41.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F8
Deuteranopia (green-blind)
#6A98F1
Tritanopia (blue-blind)
#AA93AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57ef4;
/* rgb */ color: rgb(181, 126, 244);
/* oklch */ color: oklch(69.7% 0.174 303.7);
Tailwind
colors: {
  custom: {
    50: '#cea4f8',
    500: '#b57ef4',
    950: '#000000',
  },
}
SCSS
$custom: #b57ef4;
$custom-light: #cea4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b57ef4",
  "rgb": {
    "r": 181,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 267.966,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.1737,
    "h": 303.7
  },
  "luminance": 0.31277
}

Semantic roles & 50–950 ramp

primary
#B57EF4
secondary
#E7F5D6
accent
#E1057A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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