#B57EF2#B57EF2

#B57EF2 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.171 H 304.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B57EF2
RGBrgb(181, 126, 242)
HSLhsl(268, 82%, 72%)
HSVhsv(268, 48%, 95%)
CMYKcmyk(25.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(62.64, 43.50, -50.54)
CIE-LCHlch(62.64, 66.68, 310.72°)
OKLaboklab(69.58% 0.0963 -0.1417)
OKLCHoklch(69.58% 0.171 304.2)
XYZxyz(42.5405, 31.1564, 87.7599)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57EF2 #BBF27E
analogous
#7E81F2 #B57EF2 #EF7EF2
triadic
#B57EF2 #F2B57E #7EF2B5
tetradic
#B57EF2 #F27E81 #BBF27E #7EF2EF
square
#B57EF2 #F27E81 #BBF27E #7EF2EF
split-complementary
#B57EF2 #F2EF7E #81F27E
monochromatic
#7616DF #9546EC #B57EF2 #D5B6F8 #EFE3FC

Accessibility & contrast

On white

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

On black

7.23
#B57EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57EF2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57EF2#FFFFFF#000000##000000
##B57EF21.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#6B98EF
Tritanopia (blue-blind)
#AB92AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57ef2;
/* rgb */ color: rgb(181, 126, 242);
/* oklch */ color: oklch(69.6% 0.171 304.2);
Tailwind
colors: {
  custom: {
    50: '#cea4f7',
    500: '#b57ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b57ef2;
$custom-light: #cea4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b57ef2",
  "rgb": {
    "r": 181,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 268.448,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69584,
    "c": 0.1713,
    "h": 304.2
  },
  "luminance": 0.31156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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