#B57DFA#B57DFA

#B57DFA is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.182 H 302.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B57DFA
RGBrgb(181, 125, 250)
HSLhsl(267, 93%, 74%)
HSVhsv(267, 50%, 98%)
CMYKcmyk(27.6%, 50%, 0%, 2%)
CIE-LABlab(62.84, 45.92, -54.63)
CIE-LCHlch(62.84, 71.37, 310.04°)
OKLaboklab(69.86% 0.0984 -0.1536)
OKLCHoklch(69.86% 0.182 302.6)
XYZxyz(43.6411, 31.3931, 94.1843)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DFA #C2FA7D
analogous
#7D83FA #B57DFA #F47DFA
triadic
#B57DFA #FAB57D #7DFAB5
tetradic
#B57DFA #FA7D83 #C2FA7D #7DFAF4
square
#B57DFA #FA7D83 #C2FA7D #7DFAF4
split-complementary
#B57DFA #FAF47D #83FA7D
monochromatic
#7209F3 #9342F8 #B57DFA #D7B8FC #EEE2FE

Accessibility & contrast

On white

2.89
#B57DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B57DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DFA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DFA#FFFFFF#000000##000000
##B57DFA1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#6498F7
Tritanopia (blue-blind)
#A894B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57dfa;
/* rgb */ color: rgb(181, 125, 250);
/* oklch */ color: oklch(69.9% 0.182 302.6);
Tailwind
colors: {
  custom: {
    50: '#cea4fc',
    500: '#b57dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b57dfa;
$custom-light: #cea4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b57dfa",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 266.88,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69865,
    "c": 0.18242,
    "h": 302.6
  },
  "luminance": 0.31393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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