#B57BFE#B57BFE

#B57BFE is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.8% C 0.190 H 302.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B57BFE
RGBrgb(181, 123, 254)
HSLhsl(267, 98%, 74%)
HSVhsv(267, 52%, 100%)
CMYKcmyk(28.7%, 51.6%, 0%, 0.4%)
CIE-LABlab(62.63, 47.94, -57.16)
CIE-LCHlch(62.63, 74.60, 309.98°)
OKLaboklab(69.78% 0.1013 -0.161)
OKLCHoklch(69.78% 0.19 302.2)
XYZxyz(44.0243, 31.1454, 97.4390)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BFE #C4FE7B
analogous
#7B83FE #B57BFE #F77BFE
triadic
#B57BFE #FEB57B #7BFEB5
tetradic
#B57BFE #FE7B83 #C4FE7B #7BFEF7
square
#B57BFE #FE7B83 #C4FE7B #7BFEF7
split-complementary
#B57BFE #FEF77B #83FE7B
monochromatic
#7102FD #933EFE #B57BFE #D7B8FE #EEE1FF

Accessibility & contrast

On white

2.90
#B57BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B57BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BFE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BFE#FFFFFF#000000##000000
##B57BFE1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#5F97FB
Tritanopia (blue-blind)
#A794B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57bfe;
/* rgb */ color: rgb(181, 123, 254);
/* oklch */ color: oklch(69.8% 0.190 302.2);
Tailwind
colors: {
  custom: {
    50: '#cea3ff',
    500: '#b57bfe',
    950: '#000000',
  },
}
SCSS
$custom: #b57bfe;
$custom-light: #cea3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bfe",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 266.565,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6978,
    "c": 0.1902,
    "h": 302.2
  },
  "luminance": 0.31145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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