#B57CFA#B57CFA

#B57CFA is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.184 H 302.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B57CFA
RGBrgb(181, 124, 250)
HSLhsl(267, 93%, 73%)
HSVhsv(267, 50%, 98%)
CMYKcmyk(27.6%, 50.4%, 0%, 2%)
CIE-LABlab(62.63, 46.46, -54.97)
CIE-LCHlch(62.63, 71.97, 310.20°)
OKLaboklab(69.71% 0.0997 -0.1546)
OKLCHoklch(69.71% 0.184 302.8)
XYZxyz(43.5152, 31.1412, 94.1423)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57CFA #C1FA7C
analogous
#7C82FA #B57CFA #F47CFA
triadic
#B57CFA #FAB57C #7CFAB5
tetradic
#B57CFA #FA7C82 #C1FA7C #7CFAF4
square
#B57CFA #FA7C82 #C1FA7C #7CFAF4
split-complementary
#B57CFA #FAF47C #82FA7C
monochromatic
#7309F2 #9441F8 #B57CFA #D6B7FC #EEE2FE

Accessibility & contrast

On white

2.91
#B57CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B57CFA#FFFFFF#000000##000000
##B57CFA1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#A893B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b57cfa;
/* rgb */ color: rgb(181, 124, 250);
/* oklch */ color: oklch(69.7% 0.184 302.8);
Tailwind
colors: {
  custom: {
    50: '#cea3fc',
    500: '#b57cfa',
    950: '#000000',
  },
}
SCSS
$custom: #b57cfa;
$custom-light: #cea3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b57cfa",
  "rgb": {
    "r": 181,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 267.143,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.18394,
    "h": 302.8
  },
  "luminance": 0.31141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B57CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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