#B857E8#B857E8

#B857E8 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.8% C 0.219 H 312.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B857E8
RGBrgb(184, 87, 232)
HSLhsl(280, 76%, 63%)
HSVhsv(280, 63%, 91%)
CMYKcmyk(20.7%, 62.5%, 0%, 9%)
CIE-LABlab(54.90, 61.89, -57.28)
CIE-LCHlch(54.90, 84.33, 317.21°)
OKLaboklab(63.8% 0.1486 -0.1611)
OKLCHoklch(63.8% 0.219 312.7)
XYZxyz(37.7383, 22.8340, 78.7477)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B857E8 #87E857
analogous
#7057E8 #B857E8 #E857CF
triadic
#B857E8 #E8B857 #57E8B8
tetradic
#B857E8 #E87057 #87E857 #57CFE8
square
#B857E8 #E87057 #87E857 #57CFE8
split-complementary
#B857E8 #CFE857 #57E870
monochromatic
#7C18AD #A121E1 #B857E8 #CF8DEF #E5C3F7

Accessibility & contrast

On white

3.77
#B857E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B857E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B857E8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B857E8#FFFFFF#000000##000000
##B857E81.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#167EEC
Deuteranopia (green-blind)
#4D86E5
Tritanopia (blue-blind)
#B37398
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b857e8;
/* rgb */ color: rgb(184, 87, 232);
/* oklch */ color: oklch(63.8% 0.219 312.7);
Tailwind
colors: {
  custom: {
    50: '#d18cf0',
    500: '#b857e8',
    950: '#000000',
  },
}
SCSS
$custom: #b857e8;
$custom-light: #d18cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b857e8",
  "rgb": {
    "r": 184,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 280.138,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63796,
    "c": 0.21919,
    "h": 312.7
  },
  "luminance": 0.22833
}

Semantic roles & 50–950 ramp

primary
#B857E8
secondary
#C4E8B3
accent
#D80D50
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B857E8

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

Preview Lab → · Contrast checker → · Palette generator →

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