#B57DF6#B57DF6

#B57DF6 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.6% C 0.178 H 303.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B57DF6
RGBrgb(181, 125, 246)
HSLhsl(268, 87%, 73%)
HSVhsv(268, 49%, 96%)
CMYKcmyk(26.4%, 49.2%, 0%, 3.5%)
CIE-LABlab(62.63, 44.98, -52.76)
CIE-LCHlch(62.63, 69.33, 310.45°)
OKLaboklab(69.64% 0.098 -0.1482)
OKLCHoklch(69.64% 0.178 303.5)
XYZxyz(43.0206, 31.1449, 90.9161)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DF6 #BEF67D
analogous
#7D81F6 #B57DF6 #F27DF6
triadic
#B57DF6 #F6B57D #7DF6B5
tetradic
#B57DF6 #F67D81 #BEF67D #7DF6F2
square
#B57DF6 #F67D81 #BEF67D #7DF6F2
split-complementary
#B57DF6 #F6F27D #81F67D
monochromatic
#7410E9 #9444F2 #B57DF6 #D6B6FA #EFE2FD

Accessibility & contrast

On white

2.90
#B57DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B57DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DF6
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DF6#FFFFFF#000000##000000
##B57DF61.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#AA93AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57df6;
/* rgb */ color: rgb(181, 125, 246);
/* oklch */ color: oklch(69.6% 0.178 303.5);
Tailwind
colors: {
  custom: {
    50: '#cea4fa',
    500: '#b57df6',
    950: '#000000',
  },
}
SCSS
$custom: #b57df6;
$custom-light: #cea4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b57df6",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 267.769,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69643,
    "c": 0.17765,
    "h": 303.5
  },
  "luminance": 0.31145
}

Semantic roles & 50–950 ramp

primary
#B57DF6
secondary
#E7F5D6
accent
#E4027B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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