#B57BFA#B57BFA

#B57BFA is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.185 H 303.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B57BFA
RGBrgb(181, 123, 250)
HSLhsl(267, 93%, 73%)
HSVhsv(267, 51%, 98%)
CMYKcmyk(27.6%, 50.8%, 0%, 2%)
CIE-LABlab(62.42, 46.99, -55.31)
CIE-LCHlch(62.42, 72.58, 310.36°)
OKLaboklab(69.55% 0.101 -0.1556)
OKLCHoklch(69.55% 0.185 303)
XYZxyz(43.3905, 30.8918, 94.1007)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BFA #C0FA7B
analogous
#7B80FA #B57BFA #F57BFA
triadic
#B57BFA #FAB57B #7BFAB5
tetradic
#B57BFA #FA7B80 #C0FA7B #7BFAF5
square
#B57BFA #FA7B80 #C0FA7B #7BFAF5
split-complementary
#B57BFA #FAF57B #80FA7B
monochromatic
#7309F1 #9440F8 #B57BFA #D6B6FC #EEE2FE

Accessibility & contrast

On white

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

On black

7.18
#B57BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BFA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BFA#FFFFFF#000000##000000
##B57BFA1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FE
Deuteranopia (green-blind)
#6297F7
Tritanopia (blue-blind)
#A892AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57bfa;
/* rgb */ color: rgb(181, 123, 250);
/* oklch */ color: oklch(69.6% 0.185 303.0);
Tailwind
colors: {
  custom: {
    50: '#cea3fc',
    500: '#b57bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b57bfa;
$custom-light: #cea3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bfa",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 267.402,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69552,
    "c": 0.18547,
    "h": 303
  },
  "luminance": 0.30892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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