#B57BED#B57BED

#B57BED is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.170 H 305.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B57BED
RGBrgb(181, 123, 237)
HSLhsl(271, 76%, 71%)
HSVhsv(271, 48%, 93%)
CMYKcmyk(23.6%, 48.1%, 0%, 7.1%)
CIE-LABlab(61.74, 43.98, -49.19)
CIE-LCHlch(61.74, 65.99, 311.80°)
OKLaboklab(68.83% 0.0997 -0.1377)
OKLCHoklch(68.83% 0.17 305.9)
XYZxyz(41.4219, 30.1044, 83.7329)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BED #B3ED7B
analogous
#7C7BED #B57BED #ED7BEC
triadic
#B57BED #EDB57B #7BEDB5
tetradic
#B57BED #ED7C7B #B3ED7B #7BECED
square
#B57BED #ED7C7B #B3ED7B #7BECED
split-complementary
#B57BED #ECED7B #7BED7C
monochromatic
#781DD1 #9745E6 #B57BED #D3B1F4 #F0E4FB

Accessibility & contrast

On white

2.99
#B57BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B57BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BED
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BED#FFFFFF#000000##000000
##B57BED1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#6B96EA
Tritanopia (blue-blind)
#AC8FA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b57bed;
/* rgb */ color: rgb(181, 123, 237);
/* oklch */ color: oklch(68.8% 0.170 305.9);
Tailwind
colors: {
  custom: {
    50: '#cda2f3',
    500: '#b57bed',
    950: '#000000',
  },
}
SCSS
$custom: #b57bed;
$custom-light: #cda2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bed",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 270.526,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68834,
    "c": 0.17005,
    "h": 305.9
  },
  "luminance": 0.30104
}

Semantic roles & 50–950 ramp

primary
#B57BED
secondary
#E2F1D2
accent
#D80D71
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57BED

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

Preview Lab → · Contrast checker → · Palette generator →

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