#B57DF2#B57DF2

#B57DF2 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.4% C 0.173 H 304.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B57DF2
RGBrgb(181, 125, 242)
HSLhsl(269, 82%, 72%)
HSVhsv(269, 48%, 95%)
CMYKcmyk(25.2%, 48.3%, 0%, 5.1%)
CIE-LABlab(62.42, 44.04, -50.88)
CIE-LCHlch(62.42, 67.30, 310.88°)
OKLaboklab(69.42% 0.0976 -0.1427)
OKLCHoklch(69.42% 0.173 304.4)
XYZxyz(42.4132, 30.9020, 87.7174)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DF2 #BAF27D
analogous
#7D80F2 #B57DF2 #F07DF2
triadic
#B57DF2 #F2B57D #7DF2B5
tetradic
#B57DF2 #F27D80 #BAF27D #7DF2F0
square
#B57DF2 #F27D80 #BAF27D #7DF2F0
split-complementary
#B57DF2 #F2F07D #80F27D
monochromatic
#7616DE #9545EC #B57DF2 #D5B5F8 #EFE3FC

Accessibility & contrast

On white

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

On black

7.18
#B57DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DF2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DF2#FFFFFF#000000##000000
##B57DF21.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#AB92AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57df2;
/* rgb */ color: rgb(181, 125, 242);
/* oklch */ color: oklch(69.4% 0.173 304.4);
Tailwind
colors: {
  custom: {
    50: '#cea4f7',
    500: '#b57df2',
    950: '#000000',
  },
}
SCSS
$custom: #b57df2;
$custom-light: #cea4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b57df2",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 268.718,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69424,
    "c": 0.17287,
    "h": 304.4
  },
  "luminance": 0.30902
}

Semantic roles & 50–950 ramp

primary
#B57DF2
secondary
#E6F4D7
accent
#DE0777
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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