#B57CF5#B57CF5

#B57CF5 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.4% C 0.178 H 303.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B57CF5
RGBrgb(181, 124, 245)
HSLhsl(268, 86%, 72%)
HSVhsv(268, 49%, 96%)
CMYKcmyk(26.1%, 49.4%, 0%, 3.9%)
CIE-LABlab(62.37, 45.28, -52.63)
CIE-LCHlch(62.37, 69.43, 310.71°)
OKLaboklab(69.43% 0.0992 -0.1478)
OKLCHoklch(69.43% 0.178 303.9)
XYZxyz(42.7416, 30.8318, 90.0679)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57CF5 #BCF57C
analogous
#7C80F5 #B57CF5 #F17CF5
triadic
#B57CF5 #F5B57C #7CF5B5
tetradic
#B57CF5 #F57C80 #BCF57C #7CF5F1
square
#B57CF5 #F57C80 #BCF57C #7CF5F1
split-complementary
#B57CF5 #F5F17C #80F57C
monochromatic
#7511E5 #9543F1 #B57CF5 #D5B5F9 #EFE3FD

Accessibility & contrast

On white

2.93
#B57CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B57CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57CF5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57CF5#FFFFFF#000000##000000
##B57CF51.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F9
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#AA92AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57cf5;
/* rgb */ color: rgb(181, 124, 245);
/* oklch */ color: oklch(69.4% 0.178 303.9);
Tailwind
colors: {
  custom: {
    50: '#cea3f9',
    500: '#b57cf5',
    950: '#000000',
  },
}
SCSS
$custom: #b57cf5;
$custom-light: #cea3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b57cf5",
  "rgb": {
    "r": 181,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 268.264,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69429,
    "c": 0.178,
    "h": 303.9
  },
  "luminance": 0.30832
}

Semantic roles & 50–950 ramp

primary
#B57CF5
secondary
#E6F5D6
accent
#E20379
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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