#B57BF9#B57BF9

#B57BF9 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.184 H 303.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B57BF9
RGBrgb(181, 123, 249)
HSLhsl(268, 91%, 73%)
HSVhsv(268, 51%, 98%)
CMYKcmyk(27.3%, 50.6%, 0%, 2.4%)
CIE-LABlab(62.36, 46.76, -54.84)
CIE-LCHlch(62.36, 72.07, 310.45°)
OKLaboklab(69.5% 0.1009 -0.1542)
OKLCHoklch(69.5% 0.184 303.2)
XYZxyz(43.2341, 30.8293, 93.2771)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BF9 #BFF97B
analogous
#7B80F9 #B57BF9 #F47BF9
triadic
#B57BF9 #F9B57B #7BF9B5
tetradic
#B57BF9 #F97B80 #BFF97B #7BF9F4
square
#B57BF9 #F97B80 #BFF97B #7BF9F4
split-complementary
#B57BF9 #F9F47B #80F97B
monochromatic
#740BEF #9440F6 #B57BF9 #D6B6FC #EFE2FE

Accessibility & contrast

On white

2.93
#B57BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B57BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BF9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BF9#FFFFFF#000000##000000
##B57BF91.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FD
Deuteranopia (green-blind)
#6397F6
Tritanopia (blue-blind)
#A992AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57bf9;
/* rgb */ color: rgb(181, 123, 249);
/* oklch */ color: oklch(69.5% 0.184 303.2);
Tailwind
colors: {
  custom: {
    50: '#cea3fc',
    500: '#b57bf9',
    950: '#000000',
  },
}
SCSS
$custom: #b57bf9;
$custom-light: #cea3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bf9",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 267.619,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69496,
    "c": 0.18428,
    "h": 303.2
  },
  "luminance": 0.30829
}

Semantic roles & 50–950 ramp

primary
#B57BF9
secondary
#E7F6D5
accent
#E6007C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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