#B57BFB#B57BFB

#B57BFB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.187 H 302.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B57BFB
RGBrgb(181, 123, 251)
HSLhsl(267, 94%, 73%)
HSVhsv(267, 51%, 98%)
CMYKcmyk(27.9%, 51%, 0%, 1.6%)
CIE-LABlab(62.47, 47.23, -55.77)
CIE-LCHlch(62.47, 73.08, 310.26°)
OKLaboklab(69.61% 0.101 -0.1569)
OKLCHoklch(69.61% 0.187 302.8)
XYZxyz(43.5477, 30.9547, 94.9287)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BFB #C1FB7B
analogous
#7B81FB #B57BFB #F57BFB
triadic
#B57BFB #FBB57B #7BFBB5
tetradic
#B57BFB #FB7B81 #C1FB7B #7BFBF5
square
#B57BFB #FB7B81 #C1FB7B #7BFBF5
split-complementary
#B57BFB #FBF57B #81FB7B
monochromatic
#7307F4 #9440F9 #B57BFB #D6B6FD #EEE1FE

Accessibility & contrast

On white

2.92
#B57BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B57BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BFB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BFB#FFFFFF#000000##000000
##B57BFB1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#6197F8
Tritanopia (blue-blind)
#A893B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57bfb;
/* rgb */ color: rgb(181, 123, 251);
/* oklch */ color: oklch(69.6% 0.187 302.8);
Tailwind
colors: {
  custom: {
    50: '#cea3fd',
    500: '#b57bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b57bfb;
$custom-light: #cea3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bfb",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 267.188,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69609,
    "c": 0.18665,
    "h": 302.8
  },
  "luminance": 0.30955
}

Semantic roles & 50–950 ramp

primary
#B57BFB
secondary
#E7F6D5
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B57BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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