#B57BF7#B57BF7

#B57BF7 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.4% C 0.182 H 303.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B57BF7
RGBrgb(181, 123, 247)
HSLhsl(268, 89%, 73%)
HSVhsv(268, 50%, 97%)
CMYKcmyk(26.7%, 50.2%, 0%, 3.1%)
CIE-LABlab(62.26, 46.29, -53.90)
CIE-LCHlch(62.26, 71.05, 310.65°)
OKLaboklab(69.38% 0.1007 -0.1515)
OKLCHoklch(69.38% 0.182 303.6)
XYZxyz(42.9238, 30.7052, 91.6430)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BF7 #BDF77B
analogous
#7B7FF7 #B57BF7 #F37BF7
triadic
#B57BF7 #F7B57B #7BF7B5
tetradic
#B57BF7 #F77B7F #BDF77B #7BF7F3
square
#B57BF7 #F77B7F #BDF77B #7BF7F3
split-complementary
#B57BF7 #F7F37B #7FF77B
monochromatic
#750EE9 #9541F4 #B57BF7 #D5B5FA #EFE2FD

Accessibility & contrast

On white

2.94
#B57BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B57BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BF7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BF7#FFFFFF#000000##000000
##B57BF71.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#6496F4
Tritanopia (blue-blind)
#A992AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57bf7;
/* rgb */ color: rgb(181, 123, 247);
/* oklch */ color: oklch(69.4% 0.182 303.6);
Tailwind
colors: {
  custom: {
    50: '#cea3fa',
    500: '#b57bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b57bf7;
$custom-light: #cea3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bf7",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 268.065,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69383,
    "c": 0.18192,
    "h": 303.6
  },
  "luminance": 0.30705
}

Semantic roles & 50–950 ramp

primary
#B57BF7
secondary
#E7F5D6
accent
#E5007A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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