#B57FDB#B57FDB

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

Color values

HEX#B57FDB
RGBrgb(181, 127, 219)
HSLhsl(275, 56%, 68%)
HSVhsv(275, 42%, 86%)
CMYKcmyk(17.4%, 42%, 0%, 14.1%)
CIE-LABlab(61.76, 37.75, -39.16)
CIE-LCHlch(61.76, 54.39, 313.95°)
OKLaboklab(68.56% 0.0916 -0.1087)
OKLCHoklch(68.56% 0.142 310.1)
XYZxyz(39.4293, 30.1176, 70.7402)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57FDB #A5DB7F
analogous
#877FDB #B57FDB #DB7FD3
triadic
#B57FDB #DBB57F #7FDBB5
tetradic
#B57FDB #DB877F #A5DB7F #7FD3DB
square
#B57FDB #DB877F #A5DB7F #7FD3DB
split-complementary
#B57FDB #D3DB7F #7FDB87
monochromatic
#7B31AF #994FCE #B57FDB #D1AFE8 #ECDFF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B57FDB#FFFFFF#000000##000000
##B57FDB1.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)
#6C93DE
Deuteranopia (green-blind)
#7996D8
Tritanopia (blue-blind)
#B18DA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b57fdb;
/* rgb */ color: rgb(181, 127, 219);
/* oklch */ color: oklch(68.6% 0.142 310.1);
Tailwind
colors: {
  custom: {
    50: '#cda5e6',
    500: '#b57fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b57fdb;
$custom-light: #cda5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b57fdb",
  "rgb": {
    "r": 181,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 275.217,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68562,
    "c": 0.1421,
    "h": 310.1
  },
  "luminance": 0.30117
}

Semantic roles & 50–950 ramp

primary
#B57FDB
secondary
#D8E9CD
accent
#C42265
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B57FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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