#B57AFD#B57AFD

#B57AFD is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.6% C 0.191 H 302.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B57AFD
RGBrgb(181, 122, 253)
HSLhsl(267, 97%, 74%)
HSVhsv(267, 52%, 99%)
CMYKcmyk(28.5%, 51.8%, 0%, 0.8%)
CIE-LABlab(62.37, 48.24, -57.03)
CIE-LCHlch(62.37, 74.70, 310.22°)
OKLaboklab(69.57% 0.1025 -0.1606)
OKLCHoklch(69.57% 0.191 302.5)
XYZxyz(43.7412, 30.8347, 96.5567)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57AFD #C2FD7A
analogous
#7A80FD #B57AFD #F77AFD
triadic
#B57AFD #FDB57A #7AFDB5
tetradic
#B57AFD #FD7A80 #C2FD7A #7AFDF7
square
#B57AFD #FD7A80 #C2FD7A #7AFDF7
split-complementary
#B57AFD #FDF77A #80FD7A
monochromatic
#7204F9 #933EFC #B57AFD #D7B6FE #EEE1FF

Accessibility & contrast

On white

2.93
#B57AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B57AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57AFD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57AFD#FFFFFF#000000##000000
##B57AFD1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#5F96FA
Tritanopia (blue-blind)
#A893B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57afd;
/* rgb */ color: rgb(181, 122, 253);
/* oklch */ color: oklch(69.6% 0.191 302.5);
Tailwind
colors: {
  custom: {
    50: '#cea2ff',
    500: '#b57afd',
    950: '#000000',
  },
}
SCSS
$custom: #b57afd;
$custom-light: #cea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b57afd",
  "rgb": {
    "r": 181,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 267.023,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69568,
    "c": 0.19052,
    "h": 302.5
  },
  "luminance": 0.30835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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