#B857E9#B857E9

#B857E9 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.220 H 312.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B857E9
RGBrgb(184, 87, 233)
HSLhsl(280, 77%, 63%)
HSVhsv(280, 63%, 91%)
CMYKcmyk(21%, 62.7%, 0%, 8.6%)
CIE-LABlab(54.96, 62.10, -57.75)
CIE-LCHlch(54.96, 84.80, 317.08°)
OKLaboklab(63.86% 0.1486 -0.1625)
OKLCHoklch(63.86% 0.22 312.4)
XYZxyz(37.8807, 22.8909, 79.4979)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B857E9 #88E957
analogous
#6F57E9 #B857E9 #E957D1
triadic
#B857E9 #E9B857 #57E9B8
tetradic
#B857E9 #E96F57 #88E957 #57D1E9
square
#B857E9 #E96F57 #88E957 #57D1E9
split-complementary
#B857E9 #D1E957 #57E96F
monochromatic
#7C17AF #A121E2 #B857E9 #CF8DF0 #E6C3F7

Accessibility & contrast

On white

3.76
#B857E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B857E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B857E9
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B857E9#FFFFFF#000000##000000
##B857E91.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#137FED
Deuteranopia (green-blind)
#4C86E6
Tritanopia (blue-blind)
#B37398
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b857e9;
/* rgb */ color: rgb(184, 87, 233);
/* oklch */ color: oklch(63.9% 0.220 312.4);
Tailwind
colors: {
  custom: {
    50: '#d18cf1',
    500: '#b857e9',
    950: '#000000',
  },
}
SCSS
$custom: #b857e9;
$custom-light: #d18cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b857e9",
  "rgb": {
    "r": 184,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 279.863,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63857,
    "c": 0.22018,
    "h": 312.4
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#B857E9
secondary
#C5E8B3
accent
#D90C51
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B857E9

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

Preview Lab → · Contrast checker → · Palette generator →

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