#B57AF7#B57AF7

#B57AF7 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.183 H 303.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B57AF7
RGBrgb(181, 122, 247)
HSLhsl(268, 89%, 72%)
HSVhsv(268, 51%, 97%)
CMYKcmyk(26.7%, 50.6%, 0%, 3.1%)
CIE-LABlab(62.05, 46.83, -54.24)
CIE-LCHlch(62.05, 71.66, 310.81°)
OKLaboklab(69.23% 0.102 -0.1525)
OKLCHoklch(69.23% 0.183 303.8)
XYZxyz(42.8004, 30.4583, 91.6019)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57AF7 #BCF77A
analogous
#7A7EF7 #B57AF7 #F37AF7
triadic
#B57AF7 #F7B57A #7AF7B5
tetradic
#B57AF7 #F77A7E #BCF77A #7AF7F3
square
#B57AF7 #F77A7E #BCF77A #7AF7F3
split-complementary
#B57AF7 #F7F37A #7EF77A
monochromatic
#750EE9 #9540F4 #B57AF7 #D5B4FA #EFE2FD

Accessibility & contrast

On white

2.96
#B57AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B57AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57AF7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57AF7#FFFFFF#000000##000000
##B57AF71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#6396F4
Tritanopia (blue-blind)
#A991AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57af7;
/* rgb */ color: rgb(181, 122, 247);
/* oklch */ color: oklch(69.2% 0.183 303.8);
Tailwind
colors: {
  custom: {
    50: '#cea2fa',
    500: '#b57af7',
    950: '#000000',
  },
}
SCSS
$custom: #b57af7;
$custom-light: #cea2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b57af7",
  "rgb": {
    "r": 181,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 268.32,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69227,
    "c": 0.18344,
    "h": 303.8
  },
  "luminance": 0.30458
}

Semantic roles & 50–950 ramp

primary
#B57AF7
secondary
#E6F5D6
accent
#E50079
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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