#B57BF6#B57BF6

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

Color values

HEX#B57BF6
RGBrgb(181, 123, 246)
HSLhsl(268, 87%, 72%)
HSVhsv(268, 50%, 96%)
CMYKcmyk(26.4%, 50%, 0%, 3.5%)
CIE-LABlab(62.21, 46.06, -53.44)
CIE-LCHlch(62.21, 70.55, 310.76°)
OKLaboklab(69.33% 0.1006 -0.1501)
OKLCHoklch(69.33% 0.181 303.8)
XYZxyz(42.7699, 30.6436, 90.8325)
Luminance0.3064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BF6 #BCF67B
analogous
#7B7EF6 #B57BF6 #F37BF6
triadic
#B57BF6 #F6B57B #7BF6B5
tetradic
#B57BF6 #F67B7E #BCF67B #7BF6F3
square
#B57BF6 #F67B7E #BCF67B #7BF6F3
split-complementary
#B57BF6 #F6F37B #7EF67B
monochromatic
#7510E7 #9542F2 #B57BF6 #D5B4FA #EFE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B57BF6#FFFFFF#000000##000000
##B57BF61.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)
#5595FA
Deuteranopia (green-blind)
#6596F3
Tritanopia (blue-blind)
#AA91AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57bf6;
/* rgb */ color: rgb(181, 123, 246);
/* oklch */ color: oklch(69.3% 0.181 303.8);
Tailwind
colors: {
  custom: {
    50: '#cea2fa',
    500: '#b57bf6',
    950: '#000000',
  },
}
SCSS
$custom: #b57bf6;
$custom-light: #cea2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bf6",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 268.293,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69328,
    "c": 0.18073,
    "h": 303.8
  },
  "luminance": 0.30643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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