#B57AFF#B57AFF

#B57AFF is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.7% C 0.193 H 302.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B57AFF
RGBrgb(181, 122, 255)
HSLhsl(267, 100%, 74%)
HSVhsv(267, 52%, 100%)
CMYKcmyk(29%, 52.2%, 0%, 0%)
CIE-LABlab(62.48, 48.71, -57.96)
CIE-LCHlch(62.48, 75.71, 310.05°)
OKLaboklab(69.68% 0.1026 -0.1633)
OKLCHoklch(69.68% 0.193 302.1)
XYZxyz(44.0615, 30.9628, 98.2435)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57AFF #C4FF7A
analogous
#7A82FF #B57AFF #F87AFF
triadic
#B57AFF #FFB57A #7AFFB5
tetradic
#B57AFF #FF7A82 #C4FF7A #7AFFF8
square
#B57AFF #FF7A82 #C4FF7A #7AFFF8
split-complementary
#B57AFF #FFF87A #82FF7A
monochromatic
#7100FF #933DFF #B57AFF #D7B7FF #EEE0FF

Accessibility & contrast

On white

2.92
#B57AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B57AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57AFF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57AFF#FFFFFF#000000##000000
##B57AFF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5D97FC
Tritanopia (blue-blind)
#A793B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57aff;
/* rgb */ color: rgb(181, 122, 255);
/* oklch */ color: oklch(69.7% 0.193 302.1);
Tailwind
colors: {
  custom: {
    50: '#cea2ff',
    500: '#b57aff',
    950: '#000000',
  },
}
SCSS
$custom: #b57aff;
$custom-light: #cea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b57aff",
  "rgb": {
    "r": 181,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 266.617,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69684,
    "c": 0.19287,
    "h": 302.1
  },
  "luminance": 0.30963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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