#B57AFC#B57AFC

#B57AFC is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.189 H 302.7°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B57AFC
RGBrgb(181, 122, 252)
HSLhsl(267, 96%, 73%)
HSVhsv(267, 52%, 99%)
CMYKcmyk(28.2%, 51.6%, 0%, 1.2%)
CIE-LABlab(62.31, 48.00, -56.57)
CIE-LCHlch(62.31, 74.19, 310.32°)
OKLaboklab(69.51% 0.1024 -0.1593)
OKLCHoklch(69.51% 0.189 302.7)
XYZxyz(43.5823, 30.7711, 95.7200)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57AFC #C1FC7A
analogous
#7A80FC #B57AFC #F67AFC
triadic
#B57AFC #FCB57A #7AFCB5
tetradic
#B57AFC #FC7A80 #C1FC7A #7AFCF6
square
#B57AFC #FC7A80 #C1FC7A #7AFCF6
split-complementary
#B57AFC #FCF67A #80FC7A
monochromatic
#7306F6 #943EFB #B57AFC #D6B6FD #EEE1FE

Accessibility & contrast

On white

2.94
#B57AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B57AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57AFC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57AFC#FFFFFF#000000##000000
##B57AFC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#A892B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57afc;
/* rgb */ color: rgb(181, 122, 252);
/* oklch */ color: oklch(69.5% 0.189 302.7);
Tailwind
colors: {
  custom: {
    50: '#cea2fe',
    500: '#b57afc',
    950: '#000000',
  },
}
SCSS
$custom: #b57afc;
$custom-light: #cea2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b57afc",
  "rgb": {
    "r": 181,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 267.231,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69511,
    "c": 0.18934,
    "h": 302.7
  },
  "luminance": 0.30771
}

Semantic roles & 50–950 ramp

primary
#B57AFC
secondary
#E7F7D4
accent
#E6007D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B57AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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