#B57FFC#B57FFC

#B57FFC is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.3% C 0.182 H 301.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B57FFC
RGBrgb(181, 127, 252)
HSLhsl(266, 95%, 74%)
HSVhsv(266, 50%, 99%)
CMYKcmyk(28.2%, 49.6%, 0%, 1.2%)
CIE-LABlab(63.37, 45.31, -54.89)
CIE-LCHlch(63.37, 71.17, 309.54°)
OKLaboklab(70.29% 0.096 -0.1544)
OKLCHoklch(70.29% 0.182 301.9)
XYZxyz(44.2121, 32.0307, 95.9299)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57FFC #C6FC7F
analogous
#7F88FC #B57FFC #F47FFC
triadic
#B57FFC #FCB57F #7FFCB5
tetradic
#B57FFC #FC7F88 #C6FC7F #7FFCF4
square
#B57FFC #FC7F88 #C6FC7F #7FFCF4
split-complementary
#B57FFC #FCF47F #88FC7F
monochromatic
#7007F9 #9243FB #B57FFC #D8BBFD #EEE1FE

Accessibility & contrast

On white

2.84
#B57FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B57FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57FFC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57FFC#FFFFFF#000000##000000
##B57FFC1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#6599F9
Tritanopia (blue-blind)
#A896B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b57ffc;
/* rgb */ color: rgb(181, 127, 252);
/* oklch */ color: oklch(70.3% 0.182 301.9);
Tailwind
colors: {
  custom: {
    50: '#cea5fe',
    500: '#b57ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b57ffc;
$custom-light: #cea5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b57ffc",
  "rgb": {
    "r": 181,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 265.92,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70293,
    "c": 0.18178,
    "h": 301.9
  },
  "luminance": 0.32031
}

Semantic roles & 50–950 ramp

primary
#B57FFC
secondary
#E8F7D4
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B57FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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