#B857EE#B857EE

#B857EE is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.2% C 0.225 H 311.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B857EE
RGBrgb(184, 87, 238)
HSLhsl(279, 82%, 64%)
HSVhsv(279, 63%, 93%)
CMYKcmyk(22.7%, 63.4%, 0%, 6.7%)
CIE-LABlab(55.26, 63.14, -60.07)
CIE-LCHlch(55.26, 87.15, 316.43°)
OKLaboklab(64.17% 0.1484 -0.1693)
OKLCHoklch(64.17% 0.225 311.2)
XYZxyz(38.6051, 23.1807, 83.3130)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B857EE #8DEE57
analogous
#6C57EE #B857EE #EE57D8
triadic
#B857EE #EEB857 #57EEB8
tetradic
#B857EE #EE6C57 #8DEE57 #57D8EE
square
#B857EE #EE6C57 #8DEE57 #57D8EE
split-complementary
#B857EE #D8EE57 #57EE6C
monochromatic
#7D13B8 #A11FE8 #B857EE #CF8FF4 #E7C6F9

Accessibility & contrast

On white

3.73
#B857EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B857EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B857EE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B857EE#FFFFFF#000000##000000
##B857EE1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#4786EB
Tritanopia (blue-blind)
#B1759B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b857ee;
/* rgb */ color: rgb(184, 87, 238);
/* oklch */ color: oklch(64.2% 0.225 311.2);
Tailwind
colors: {
  custom: {
    50: '#d18cf4',
    500: '#b857ee',
    950: '#000000',
  },
}
SCSS
$custom: #b857ee;
$custom-light: #d18cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b857ee",
  "rgb": {
    "r": 184,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 278.543,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64168,
    "c": 0.22513,
    "h": 311.2
  },
  "luminance": 0.2318
}

Semantic roles & 50–950 ramp

primary
#B857EE
secondary
#C9EBB6
accent
#DE0854
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B857EE

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

Preview Lab → · Contrast checker → · Palette generator →

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