#B57CFD#B57CFD

#B57CFD is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.188 H 302.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B57CFD
RGBrgb(181, 124, 253)
HSLhsl(267, 97%, 74%)
HSVhsv(267, 51%, 99%)
CMYKcmyk(28.5%, 51%, 0%, 0.8%)
CIE-LABlab(62.79, 47.16, -56.37)
CIE-LCHlch(62.79, 73.49, 309.92°)
OKLaboklab(69.88% 0.0999 -0.1587)
OKLCHoklch(69.88% 0.188 302.2)
XYZxyz(43.9893, 31.3309, 96.6394)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57CFD #C4FD7C
analogous
#7C84FD #B57CFD #F67CFD
triadic
#B57CFD #FDB57C #7CFDB5
tetradic
#B57CFD #FD7C84 #C4FD7C #7CFDF6
square
#B57CFD #FD7C84 #C4FD7C #7CFDF6
split-complementary
#B57CFD #FDF67C #84FD7C
monochromatic
#7104FB #9340FC #B57CFD #D7B8FE #EEE1FF

Accessibility & contrast

On white

2.89
#B57CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B57CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57CFD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57CFD#FFFFFF#000000##000000
##B57CFD1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6197FA
Tritanopia (blue-blind)
#A894B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57cfd;
/* rgb */ color: rgb(181, 124, 253);
/* oklch */ color: oklch(69.9% 0.188 302.2);
Tailwind
colors: {
  custom: {
    50: '#cea3ff',
    500: '#b57cfd',
    950: '#000000',
  },
}
SCSS
$custom: #b57cfd;
$custom-light: #cea3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b57cfd",
  "rgb": {
    "r": 181,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 266.512,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69878,
    "c": 0.18751,
    "h": 302.2
  },
  "luminance": 0.31331
}

Semantic roles & 50–950 ramp

primary
#B57CFD
secondary
#E8F7D4
accent
#E60080
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B57CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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