#B57EFC#B57EFC

#B57EFC is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.183 H 302.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B57EFC
RGBrgb(181, 126, 252)
HSLhsl(266, 95%, 74%)
HSVhsv(266, 50%, 99%)
CMYKcmyk(28.2%, 50%, 0%, 1.2%)
CIE-LABlab(63.16, 45.85, -55.23)
CIE-LCHlch(63.16, 71.78, 309.70°)
OKLaboklab(70.14% 0.0973 -0.1554)
OKLCHoklch(70.14% 0.183 302.1)
XYZxyz(44.0836, 31.7737, 95.8871)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57EFC #C5FC7E
analogous
#7E86FC #B57EFC #F47EFC
triadic
#B57EFC #FCB57E #7EFCB5
tetradic
#B57EFC #FC7E86 #C5FC7E #7EFCF4
square
#B57EFC #FC7E86 #C5FC7E #7EFCF4
split-complementary
#B57EFC #FCF47E #86FC7E
monochromatic
#7006F9 #9342FB #B57EFC #D7BAFD #EEE1FE

Accessibility & contrast

On white

2.86
#B57EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B57EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57EFC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57EFC#FFFFFF#000000##000000
##B57EFC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6498F9
Tritanopia (blue-blind)
#A895B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b57efc;
/* rgb */ color: rgb(181, 126, 252);
/* oklch */ color: oklch(70.1% 0.183 302.1);
Tailwind
colors: {
  custom: {
    50: '#cea5fe',
    500: '#b57efc',
    950: '#000000',
  },
}
SCSS
$custom: #b57efc;
$custom-light: #cea5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b57efc",
  "rgb": {
    "r": 181,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 266.19,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70135,
    "c": 0.1833,
    "h": 302.1
  },
  "luminance": 0.31774
}

Semantic roles & 50–950 ramp

primary
#B57EFC
secondary
#E8F7D4
accent
#E60081
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B57EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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