#B857E7#B857E7

#B857E7 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.7% C 0.218 H 312.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B857E7
RGBrgb(184, 87, 231)
HSLhsl(280, 75%, 62%)
HSVhsv(280, 62%, 91%)
CMYKcmyk(20.3%, 62.3%, 0%, 9.4%)
CIE-LABlab(54.84, 61.68, -56.81)
CIE-LCHlch(54.84, 83.86, 317.35°)
OKLaboklab(63.73% 0.1486 -0.1598)
OKLCHoklch(63.73% 0.218 312.9)
XYZxyz(37.5966, 22.7773, 78.0018)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B857E7 #86E757
analogous
#7057E7 #B857E7 #E757CE
triadic
#B857E7 #E7B857 #57E7B8
tetradic
#B857E7 #E77057 #86E757 #57CEE7
square
#B857E7 #E77057 #86E757 #57CEE7
split-complementary
#B857E7 #CEE757 #57E770
monochromatic
#7B18AB #A121DF #B857E7 #CF8DEF #E5C2F6

Accessibility & contrast

On white

3.78
#B857E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B857E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B857E7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B857E7#FFFFFF#000000##000000
##B857E71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#197EEB
Deuteranopia (green-blind)
#4E85E4
Tritanopia (blue-blind)
#B37297
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b857e7;
/* rgb */ color: rgb(184, 87, 231);
/* oklch */ color: oklch(63.7% 0.218 312.9);
Tailwind
colors: {
  custom: {
    50: '#d18cef',
    500: '#b857e7',
    950: '#000000',
  },
}
SCSS
$custom: #b857e7;
$custom-light: #d18cef;
$custom-dark: #000000;
JSON
{
  "hex": "#b857e7",
  "rgb": {
    "r": 184,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 280.417,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63734,
    "c": 0.21821,
    "h": 312.9
  },
  "luminance": 0.22776
}

Semantic roles & 50–950 ramp

primary
#B857E7
secondary
#C4E7B3
accent
#D70E50
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B857E7

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

Preview Lab → · Contrast checker → · Palette generator →

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