#B57CFE#B57CFE

#B57CFE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.189 H 302.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B57CFE
RGBrgb(181, 124, 254)
HSLhsl(266, 98%, 74%)
HSVhsv(266, 51%, 100%)
CMYKcmyk(28.7%, 51.2%, 0%, 0.4%)
CIE-LABlab(62.84, 47.40, -56.83)
CIE-LCHlch(62.84, 74.00, 309.83°)
OKLaboklab(69.94% 0.1 -0.16)
OKLCHoklch(69.94% 0.189 302)
XYZxyz(44.1490, 31.3947, 97.4806)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57CFE #C5FE7C
analogous
#7C84FE #B57CFE #F67CFE
triadic
#B57CFE #FEB57C #7CFEB5
tetradic
#B57CFE #FE7C84 #C5FE7C #7CFEF6
square
#B57CFE #FE7C84 #C5FE7C #7CFEF6
split-complementary
#B57CFE #FEF67C #84FE7C
monochromatic
#7003FD #933FFE #B57CFE #D7B9FE #EEE1FF

Accessibility & contrast

On white

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

On black

7.28
#B57CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57CFE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57CFE#FFFFFF#000000##000000
##B57CFE1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#A794B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57cfe;
/* rgb */ color: rgb(181, 124, 254);
/* oklch */ color: oklch(69.9% 0.189 302.0);
Tailwind
colors: {
  custom: {
    50: '#cea3ff',
    500: '#b57cfe',
    950: '#000000',
  },
}
SCSS
$custom: #b57cfe;
$custom-light: #cea3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b57cfe",
  "rgb": {
    "r": 181,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 266.308,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69935,
    "c": 0.1887,
    "h": 302
  },
  "luminance": 0.31395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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