#B57CF8#B57CF8

#B57CF8 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.182 H 303.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B57CF8
RGBrgb(181, 124, 248)
HSLhsl(268, 90%, 73%)
HSVhsv(268, 50%, 97%)
CMYKcmyk(27%, 50%, 0%, 2.7%)
CIE-LABlab(62.52, 45.99, -54.04)
CIE-LCHlch(62.52, 70.96, 310.40°)
OKLaboklab(69.6% 0.0995 -0.1519)
OKLCHoklch(69.6% 0.182 303.2)
XYZxyz(43.2032, 31.0164, 92.4995)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57CF8 #BFF87C
analogous
#7C81F8 #B57CF8 #F37CF8
triadic
#B57CF8 #F8B57C #7CF8B5
tetradic
#B57CF8 #F87C81 #BFF87C #7CF8F3
square
#B57CF8 #F87C81 #BFF87C #7CF8F3
split-complementary
#B57CF8 #F8F37C #81F87C
monochromatic
#740DED #9442F5 #B57CF8 #D6B6FB #EFE2FD

Accessibility & contrast

On white

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

On black

7.20
#B57CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57CF8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57CF8#FFFFFF#000000##000000
##B57CF81.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#A993AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57cf8;
/* rgb */ color: rgb(181, 124, 248);
/* oklch */ color: oklch(69.6% 0.182 303.2);
Tailwind
colors: {
  custom: {
    50: '#cea3fb',
    500: '#b57cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b57cf8;
$custom-light: #cea3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b57cf8",
  "rgb": {
    "r": 181,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 267.581,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69596,
    "c": 0.18158,
    "h": 303.2
  },
  "luminance": 0.31016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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