#B57BFC#B57BFC

#B57BFC is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.7% C 0.188 H 302.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B57BFC
RGBrgb(181, 123, 252)
HSLhsl(267, 96%, 74%)
HSVhsv(267, 51%, 99%)
CMYKcmyk(28.2%, 51.2%, 0%, 1.2%)
CIE-LABlab(62.52, 47.47, -56.24)
CIE-LCHlch(62.52, 73.59, 310.17°)
OKLaboklab(69.67% 0.1011 -0.1583)
OKLCHoklch(69.67% 0.188 302.6)
XYZxyz(43.7058, 31.0179, 95.7611)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BFC #C2FC7B
analogous
#7B81FC #B57BFC #F67BFC
triadic
#B57BFC #FCB57B #7BFCB5
tetradic
#B57BFC #FC7B81 #C2FC7B #7BFCF6
square
#B57BFC #FC7B81 #C2FC7B #7BFCF6
split-complementary
#B57BFC #FCF67B #81FC7B
monochromatic
#7206F7 #933FFB #B57BFC #D7B7FD #EEE1FE

Accessibility & contrast

On white

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

On black

7.20
#B57BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BFC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BFC#FFFFFF#000000##000000
##B57BFC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b57bfc;
/* rgb */ color: rgb(181, 123, 252);
/* oklch */ color: oklch(69.7% 0.188 302.6);
Tailwind
colors: {
  custom: {
    50: '#cea3fe',
    500: '#b57bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b57bfc;
$custom-light: #cea3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bfc",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 266.977,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69666,
    "c": 0.18784,
    "h": 302.6
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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