#B57EFA#B57EFA

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

Color values

HEX#B57EFA
RGBrgb(181, 126, 250)
HSLhsl(267, 93%, 74%)
HSVhsv(267, 50%, 98%)
CMYKcmyk(27.6%, 49.6%, 0%, 2%)
CIE-LABlab(63.05, 45.37, -54.30)
CIE-LCHlch(63.05, 70.76, 309.88°)
OKLaboklab(70.02% 0.0971 -0.1526)
OKLCHoklch(70.02% 0.181 302.5)
XYZxyz(43.7684, 31.6476, 94.2267)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57EFA #C3FA7E
analogous
#7E85FA #B57EFA #F37EFA
triadic
#B57EFA #FAB57E #7EFAB5
tetradic
#B57EFA #FA7E85 #C3FA7E #7EFAF3
square
#B57EFA #FA7E85 #C3FA7E #7EFAF3
split-complementary
#B57EFA #FAF37E #85FA7E
monochromatic
#7209F4 #9343F8 #B57EFA #D7B9FC #EEE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B57EFA#FFFFFF#000000##000000
##B57EFA1.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)
#5698FE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#A895B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b57efa;
/* rgb */ color: rgb(181, 126, 250);
/* oklch */ color: oklch(70.0% 0.181 302.5);
Tailwind
colors: {
  custom: {
    50: '#cea5fc',
    500: '#b57efa',
    950: '#000000',
  },
}
SCSS
$custom: #b57efa;
$custom-light: #cea5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b57efa",
  "rgb": {
    "r": 181,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 266.613,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70023,
    "c": 0.1809,
    "h": 302.5
  },
  "luminance": 0.31648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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