#B57BF3#B57BF3

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

Color values

HEX#B57BF3
RGBrgb(181, 123, 243)
HSLhsl(269, 83%, 72%)
HSVhsv(269, 49%, 95%)
CMYKcmyk(25.5%, 49.4%, 0%, 4.7%)
CIE-LABlab(62.05, 45.36, -52.03)
CIE-LCHlch(62.05, 69.03, 311.08°)
OKLaboklab(69.16% 0.1004 -0.146)
OKLCHoklch(69.16% 0.177 304.5)
XYZxyz(42.3132, 30.4609, 88.4270)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BF3 #B9F37B
analogous
#7B7DF3 #B57BF3 #F17BF3
triadic
#B57BF3 #F3B57B #7BF3B5
tetradic
#B57BF3 #F37B7D #B9F37B #7BF3F1
square
#B57BF3 #F37B7D #B9F37B #7BF3F1
split-complementary
#B57BF3 #F3F17B #7DF37B
monochromatic
#7614DF #9643EE #B57BF3 #D4B3F8 #EFE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B57BF3#FFFFFF#000000##000000
##B57BF31.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)
#5794F7
Deuteranopia (green-blind)
#6796F0
Tritanopia (blue-blind)
#AB90AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57bf3;
/* rgb */ color: rgb(181, 123, 243);
/* oklch */ color: oklch(69.2% 0.177 304.5);
Tailwind
colors: {
  custom: {
    50: '#cea2f7',
    500: '#b57bf3',
    950: '#000000',
  },
}
SCSS
$custom: #b57bf3;
$custom-light: #cea2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bf3",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 269,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69161,
    "c": 0.17717,
    "h": 304.5
  },
  "luminance": 0.30461
}

Semantic roles & 50–950 ramp

primary
#B57BF3
secondary
#E5F4D6
accent
#E00676
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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