#B57EF7#B57EF7

#B57EF7 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.177 H 303.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B57EF7
RGBrgb(181, 126, 247)
HSLhsl(267, 88%, 73%)
HSVhsv(267, 49%, 97%)
CMYKcmyk(26.7%, 49%, 0%, 3.1%)
CIE-LABlab(62.89, 44.67, -52.89)
CIE-LCHlch(62.89, 69.23, 310.18°)
OKLaboklab(69.86% 0.0968 -0.1485)
OKLCHoklch(69.86% 0.177 303.1)
XYZxyz(43.3017, 31.4609, 91.7690)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57EF7 #C0F77E
analogous
#7E83F7 #B57EF7 #F27EF7
triadic
#B57EF7 #F7B57E #7EF7B5
tetradic
#B57EF7 #F77E83 #C0F77E #7EF7F2
square
#B57EF7 #F77E83 #C0F77E #7EF7F2
split-complementary
#B57EF7 #F7F27E #83F77E
monochromatic
#730FEC #9444F3 #B57EF7 #D6B8FB #EEE2FD

Accessibility & contrast

On white

2.88
#B57EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B57EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57EF7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57EF7#FFFFFF#000000##000000
##B57EF71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#A994AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57ef7;
/* rgb */ color: rgb(181, 126, 247);
/* oklch */ color: oklch(69.9% 0.177 303.1);
Tailwind
colors: {
  custom: {
    50: '#cea5fa',
    500: '#b57ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b57ef7;
$custom-light: #cea5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b57ef7",
  "rgb": {
    "r": 181,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 267.273,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69857,
    "c": 0.1773,
    "h": 303.1
  },
  "luminance": 0.31461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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