#B57CF2#B57CF2

#B57CF2 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.3% C 0.174 H 304.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B57CF2
RGBrgb(181, 124, 242)
HSLhsl(269, 82%, 72%)
HSVhsv(269, 49%, 95%)
CMYKcmyk(25.2%, 48.8%, 0%, 5.1%)
CIE-LABlab(62.21, 44.59, -51.22)
CIE-LCHlch(62.21, 67.91, 311.04°)
OKLaboklab(69.26% 0.0989 -0.1436)
OKLCHoklch(69.26% 0.174 304.6)
XYZxyz(42.2873, 30.6501, 87.6755)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57CF2 #B9F27C
analogous
#7C7EF2 #B57CF2 #F07CF2
triadic
#B57CF2 #F2B57C #7CF2B5
tetradic
#B57CF2 #F27C7E #B9F27C #7CF2F0
square
#B57CF2 #F27C7E #B9F27C #7CF2F0
split-complementary
#B57CF2 #F2F07C #7EF27C
monochromatic
#7616DE #9644EC #B57CF2 #D4B4F8 #EFE3FC

Accessibility & contrast

On white

2.95
#B57CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B57CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57CF2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57CF2#FFFFFF#000000##000000
##B57CF21.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#6996EF
Tritanopia (blue-blind)
#AB91AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57cf2;
/* rgb */ color: rgb(181, 124, 242);
/* oklch */ color: oklch(69.3% 0.174 304.6);
Tailwind
colors: {
  custom: {
    50: '#cea3f7',
    500: '#b57cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b57cf2;
$custom-light: #cea3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b57cf2",
  "rgb": {
    "r": 181,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 268.983,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69264,
    "c": 0.17443,
    "h": 304.6
  },
  "luminance": 0.3065
}

Semantic roles & 50–950 ramp

primary
#B57CF2
secondary
#E5F4D6
accent
#DE0776
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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