#B57DF8#B57DF8

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

Color values

HEX#B57DF8
RGBrgb(181, 125, 248)
HSLhsl(267, 90%, 73%)
HSVhsv(267, 50%, 97%)
CMYKcmyk(27%, 49.6%, 0%, 2.7%)
CIE-LABlab(62.73, 45.45, -53.70)
CIE-LCHlch(62.73, 70.35, 310.24°)
OKLaboklab(69.75% 0.0982 -0.1509)
OKLCHoklch(69.75% 0.18 303.1)
XYZxyz(43.3292, 31.2683, 92.5414)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DF8 #C0F87D
analogous
#7D82F8 #B57DF8 #F27DF8
triadic
#B57DF8 #F8B57D #7DF8B5
tetradic
#B57DF8 #F87D82 #C0F87D #7DF8F2
square
#B57DF8 #F87D82 #C0F87D #7DF8F2
split-complementary
#B57DF8 #F8F27D #82F87D
monochromatic
#730DEE #9443F5 #B57DF8 #D6B7FB #EEE2FD

Accessibility & contrast

On white

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

On black

7.25
#B57DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DF8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DF8#FFFFFF#000000##000000
##B57DF81.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FC
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#A993AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57df8;
/* rgb */ color: rgb(181, 125, 248);
/* oklch */ color: oklch(69.8% 0.180 303.1);
Tailwind
colors: {
  custom: {
    50: '#cea4fb',
    500: '#b57df8',
    950: '#000000',
  },
}
SCSS
$custom: #b57df8;
$custom-light: #cea4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b57df8",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 267.317,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69754,
    "c": 0.18004,
    "h": 303.1
  },
  "luminance": 0.31268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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