#B857EB#B857EB

#B857EB is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.222 H 311.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B857EB
RGBrgb(184, 87, 235)
HSLhsl(279, 79%, 63%)
HSVhsv(279, 63%, 92%)
CMYKcmyk(21.7%, 63%, 0%, 7.8%)
CIE-LABlab(55.08, 62.51, -58.68)
CIE-LCHlch(55.08, 85.74, 316.81°)
OKLaboklab(63.98% 0.1485 -0.1652)
OKLCHoklch(63.98% 0.222 311.9)
XYZxyz(38.1680, 23.0059, 81.0111)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B857EB #8AEB57
analogous
#6E57EB #B857EB #EB57D4
triadic
#B857EB #EBB857 #57EBB8
tetradic
#B857EB #EB6E57 #8AEB57 #57D4EB
square
#B857EB #EB6E57 #8AEB57 #57D4EB
split-complementary
#B857EB #D4EB57 #57EB6E
monochromatic
#7C15B2 #A120E4 #B857EB #CF8EF2 #E6C4F8

Accessibility & contrast

On white

3.75
#B857EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B857EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B857EB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B857EB#FFFFFF#000000##000000
##B857EB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7FF0
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#B27499
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b857eb;
/* rgb */ color: rgb(184, 87, 235);
/* oklch */ color: oklch(64.0% 0.222 311.9);
Tailwind
colors: {
  custom: {
    50: '#d18cf2',
    500: '#b857eb',
    950: '#000000',
  },
}
SCSS
$custom: #b857eb;
$custom-light: #d18cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b857eb",
  "rgb": {
    "r": 184,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 279.324,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63981,
    "c": 0.22216,
    "h": 311.9
  },
  "luminance": 0.23005
}

Semantic roles & 50–950 ramp

primary
#B857EB
secondary
#C7E9B4
accent
#DB0A52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B857EB

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

Preview Lab → · Contrast checker → · Palette generator →

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