#B57EFD#B57EFD

#B57EFD is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.184 H 301.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#B57EFD
RGBrgb(181, 126, 253)
HSLhsl(266, 97%, 74%)
HSVhsv(266, 50%, 99%)
CMYKcmyk(28.5%, 50.2%, 0%, 0.8%)
CIE-LABlab(63.21, 46.08, -55.69)
CIE-LCHlch(63.21, 72.29, 309.61°)
OKLaboklab(70.19% 0.0974 -0.1567)
OKLCHoklch(70.19% 0.184 301.8)
XYZxyz(44.2425, 31.8372, 96.7238)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57EFD #C6FD7E
analogous
#7E87FD #B57EFD #F47EFD
triadic
#B57EFD #FDB57E #7EFDB5
tetradic
#B57EFD #FD7E87 #C6FD7E #7EFDF4
square
#B57EFD #FD7E87 #C6FD7E #7EFDF4
split-complementary
#B57EFD #FDF47E #87FD7E
monochromatic
#7005FB #9242FC #B57EFD #D8BAFE #EEE1FF

Accessibility & contrast

On white

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

On black

7.37
#B57EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57EFD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57EFD#FFFFFF#000000##000000
##B57EFD1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#6399FA
Tritanopia (blue-blind)
#A796B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b57efd;
/* rgb */ color: rgb(181, 126, 253);
/* oklch */ color: oklch(70.2% 0.184 301.8);
Tailwind
colors: {
  custom: {
    50: '#cea5ff',
    500: '#b57efd',
    950: '#000000',
  },
}
SCSS
$custom: #b57efd;
$custom-light: #cea5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b57efd",
  "rgb": {
    "r": 181,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 265.984,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70192,
    "c": 0.18449,
    "h": 301.8
  },
  "luminance": 0.31837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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