#B57BF1#B57BF1

#B57BF1 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.175 H 305.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B57BF1
RGBrgb(181, 123, 241)
HSLhsl(269, 81%, 71%)
HSVhsv(269, 49%, 95%)
CMYKcmyk(24.9%, 49%, 0%, 5.5%)
CIE-LABlab(61.95, 44.90, -51.09)
CIE-LCHlch(61.95, 68.01, 311.31°)
OKLaboklab(69.05% 0.1002 -0.1433)
OKLCHoklch(69.05% 0.175 305)
XYZxyz(42.0128, 30.3408, 86.8451)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BF1 #B7F17B
analogous
#7B7CF1 #B57BF1 #F07BF1
triadic
#B57BF1 #F1B57B #7BF1B5
tetradic
#B57BF1 #F17B7C #B7F17B #7BF1F0
square
#B57BF1 #F17B7C #B7F17B #7BF1F0
split-complementary
#B57BF1 #F1F07B #7CF17B
monochromatic
#7717DA #9644EB #B57BF1 #D4B2F7 #EFE3FC

Accessibility & contrast

On white

2.97
#B57BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B57BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BF1
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BF1#FFFFFF#000000##000000
##B57BF11.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F5
Deuteranopia (green-blind)
#6896EE
Tritanopia (blue-blind)
#AB90AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57bf1;
/* rgb */ color: rgb(181, 123, 241);
/* oklch */ color: oklch(69.1% 0.175 305.0);
Tailwind
colors: {
  custom: {
    50: '#cea2f6',
    500: '#b57bf1',
    950: '#000000',
  },
}
SCSS
$custom: #b57bf1;
$custom-light: #cea2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bf1",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 269.492,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69051,
    "c": 0.1748,
    "h": 305
  },
  "luminance": 0.30341
}

Semantic roles & 50–950 ramp

primary
#B57BF1
secondary
#E4F3D5
accent
#DD0875
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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