#B57AFA#B57AFA

#B57AFA is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.4% C 0.187 H 303.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B57AFA
RGBrgb(181, 122, 250)
HSLhsl(268, 93%, 73%)
HSVhsv(268, 51%, 98%)
CMYKcmyk(27.6%, 51.2%, 0%, 2%)
CIE-LABlab(62.21, 47.53, -55.64)
CIE-LCHlch(62.21, 73.18, 310.51°)
OKLaboklab(69.4% 0.1022 -0.1565)
OKLCHoklch(69.4% 0.187 303.1)
XYZxyz(43.2671, 30.6450, 94.0596)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57AFA #BFFA7A
analogous
#7A7FFA #B57AFA #F57AFA
triadic
#B57AFA #FAB57A #7AFAB5
tetradic
#B57AFA #FA7A7F #BFFA7A #7AFAF5
square
#B57AFA #FA7A7F #BFFA7A #7AFAF5
split-complementary
#B57AFA #FAF57A #7FFA7A
monochromatic
#7409F1 #943FF8 #B57AFA #D6B5FC #EFE2FE

Accessibility & contrast

On white

2.95
#B57AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B57AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57AFA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57AFA#FFFFFF#000000##000000
##B57AFA1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#A992AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57afa;
/* rgb */ color: rgb(181, 122, 250);
/* oklch */ color: oklch(69.4% 0.187 303.1);
Tailwind
colors: {
  custom: {
    50: '#cea2fc',
    500: '#b57afa',
    950: '#000000',
  },
}
SCSS
$custom: #b57afa;
$custom-light: #cea2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b57afa",
  "rgb": {
    "r": 181,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 267.656,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69397,
    "c": 0.18698,
    "h": 303.1
  },
  "luminance": 0.30645
}

Semantic roles & 50–950 ramp

primary
#B57AFA
secondary
#E7F6D5
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B57AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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