#B57DF7#B57DF7

#B57DF7 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.7% C 0.179 H 303.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B57DF7
RGBrgb(181, 125, 247)
HSLhsl(268, 88%, 73%)
HSVhsv(268, 49%, 97%)
CMYKcmyk(26.7%, 49.4%, 0%, 3.1%)
CIE-LABlab(62.68, 45.21, -53.23)
CIE-LCHlch(62.68, 69.84, 310.34°)
OKLaboklab(69.7% 0.0981 -0.1495)
OKLCHoklch(69.7% 0.179 303.3)
XYZxyz(43.1745, 31.2065, 91.7266)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57DF7 #BFF77D
analogous
#7D82F7 #B57DF7 #F27DF7
triadic
#B57DF7 #F7B57D #7DF7B5
tetradic
#B57DF7 #F77D82 #BFF77D #7DF7F2
square
#B57DF7 #F77D82 #BFF77D #7DF7F2
split-complementary
#B57DF7 #F7F27D #82F77D
monochromatic
#740EEB #9443F3 #B57DF7 #D6B7FB #EFE2FD

Accessibility & contrast

On white

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

On black

7.24
#B57DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57DF7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57DF7#FFFFFF#000000##000000
##B57DF71.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#A993AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57df7;
/* rgb */ color: rgb(181, 125, 247);
/* oklch */ color: oklch(69.7% 0.179 303.3);
Tailwind
colors: {
  custom: {
    50: '#cea4fa',
    500: '#b57df7',
    950: '#000000',
  },
}
SCSS
$custom: #b57df7;
$custom-light: #cea4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b57df7",
  "rgb": {
    "r": 181,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 267.541,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69698,
    "c": 0.17885,
    "h": 303.3
  },
  "luminance": 0.31206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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