#B857DC#B857DC

#B857DC is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.1% C 0.207 H 315.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B857DC
RGBrgb(184, 87, 220)
HSLhsl(284, 66%, 60%)
HSVhsv(284, 60%, 86%)
CMYKcmyk(16.4%, 60.5%, 0%, 13.7%)
CIE-LABlab(54.21, 59.43, -51.62)
CIE-LCHlch(54.21, 78.72, 319.02°)
OKLaboklab(63.08% 0.1487 -0.1446)
OKLCHoklch(63.08% 0.207 315.8)
XYZxyz(36.0916, 22.1753, 70.0753)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B857DC #7BDC57
analogous
#7557DC #B857DC #DC57BE
triadic
#B857DC #DCB857 #57DCB8
tetradic
#B857DC #DC7557 #7BDC57 #57BEDC
square
#B857DC #DC7557 #7BDC57 #57BEDC
split-complementary
#B857DC #BEDC57 #57DC75
monochromatic
#782099 #A02ACB #B857DC #CD8AE7 #E3BCF1

Accessibility & contrast

On white

3.86
#B857DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B857DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B857DC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B857DC#FFFFFF#000000##000000
##B857DC1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7CE0
Deuteranopia (green-blind)
#5784D9
Tritanopia (blue-blind)
#B66E92
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b857dc;
/* rgb */ color: rgb(184, 87, 220);
/* oklch */ color: oklch(63.1% 0.207 315.8);
Tailwind
colors: {
  custom: {
    50: '#d08ce7',
    500: '#b857dc',
    950: '#000000',
  },
}
SCSS
$custom: #b857dc;
$custom-light: #d08ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b857dc",
  "rgb": {
    "r": 184,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 283.759,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63075,
    "c": 0.20739,
    "h": 315.8
  },
  "luminance": 0.22174
}

Semantic roles & 50–950 ramp

primary
#B857DC
secondary
#BCE1AE
accent
#CD1849
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B857DC

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

Preview Lab → · Contrast checker → · Palette generator →

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