#B57DF9#B57DF9

#B57DF9 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.181 H 302.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B57DF9
RGBrgb(181, 125, 249)
HSLhsl(267, 91%, 73%)
HSVhsv(267, 50%, 98%)
CMYKcmyk(27.3%, 49.8%, 0%, 2.4%)
CIE-LABlab(62.79, 45.68, -54.17)
CIE-LCHlch(62.79, 70.86, 310.14°)
OKLaboklab(69.81% 0.0983 -0.1523)
OKLCHoklch(69.81% 0.181 302.8)
XYZxyz(43.4847, 31.3306, 93.3607)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DF9 #C1F97D
analogous
#7D83F9 #B57DF9 #F37DF9
triadic
#B57DF9 #F9B57D #7DF9B5
tetradic
#B57DF9 #F97D83 #C1F97D #7DF9F3
square
#B57DF9 #F97D83 #C1F97D #7DF9F3
split-complementary
#B57DF9 #F9F37D #83F97D
monochromatic
#730BF0 #9442F6 #B57DF9 #D6B7FC #EEE2FE

Accessibility & contrast

On white

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

On black

7.27
#B57DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DF9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DF9#FFFFFF#000000##000000
##B57DF91.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#6598F6
Tritanopia (blue-blind)
#A994B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57df9;
/* rgb */ color: rgb(181, 125, 249);
/* oklch */ color: oklch(69.8% 0.181 302.8);
Tailwind
colors: {
  custom: {
    50: '#cea4fc',
    500: '#b57df9',
    950: '#000000',
  },
}
SCSS
$custom: #b57df9;
$custom-light: #cea4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b57df9",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 267.097,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69809,
    "c": 0.18123,
    "h": 302.8
  },
  "luminance": 0.31331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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