#B57FF9#B57FF9

#B57FF9 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.1% C 0.178 H 302.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#B57FF9
RGBrgb(181, 127, 249)
HSLhsl(267, 91%, 74%)
HSVhsv(267, 49%, 98%)
CMYKcmyk(27.3%, 49%, 0%, 2.4%)
CIE-LABlab(63.21, 44.60, -53.49)
CIE-LCHlch(63.21, 69.64, 309.82°)
OKLaboklab(70.13% 0.0957 -0.1503)
OKLCHoklch(70.13% 0.178 302.5)
XYZxyz(43.7405, 31.8420, 93.4459)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57FF9 #C3F97F
analogous
#7F86F9 #B57FF9 #F27FF9
triadic
#B57FF9 #F9B57F #7FF9B5
tetradic
#B57FF9 #F97F86 #C3F97F #7FF9F2
square
#B57FF9 #F97F86 #C3F97F #7FF9F2
split-complementary
#B57FF9 #F9F27F #86F97F
monochromatic
#720BF2 #9345F6 #B57FF9 #D7B9FC #EEE2FE

Accessibility & contrast

On white

2.85
#B57FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#B57FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57FF9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57FF9#FFFFFF#000000##000000
##B57FF91.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#6799F6
Tritanopia (blue-blind)
#A995B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b57ff9;
/* rgb */ color: rgb(181, 127, 249);
/* oklch */ color: oklch(70.1% 0.178 302.5);
Tailwind
colors: {
  custom: {
    50: '#cea5fc',
    500: '#b57ff9',
    950: '#000000',
  },
}
SCSS
$custom: #b57ff9;
$custom-light: #cea5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b57ff9",
  "rgb": {
    "r": 181,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 266.557,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70127,
    "c": 0.17816,
    "h": 302.5
  },
  "luminance": 0.31842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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