#B857EA#B857EA

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

Color values

HEX#B857EA
RGBrgb(184, 87, 234)
HSLhsl(280, 78%, 63%)
HSVhsv(280, 63%, 92%)
CMYKcmyk(21.4%, 62.8%, 0%, 8.2%)
CIE-LABlab(55.02, 62.30, -58.21)
CIE-LCHlch(55.02, 85.27, 316.94°)
OKLaboklab(63.92% 0.1485 -0.1639)
OKLCHoklch(63.92% 0.221 312.2)
XYZxyz(38.0240, 22.9482, 80.2524)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B857EA #89EA57
analogous
#6E57EA #B857EA #EA57D2
triadic
#B857EA #EAB857 #57EAB8
tetradic
#B857EA #EA6E57 #89EA57 #57D2EA
square
#B857EA #EA6E57 #89EA57 #57D2EA
split-complementary
#B857EA #D2EA57 #57EA6E
monochromatic
#7C16B1 #A121E3 #B857EA #CF8DF1 #E6C4F8

Accessibility & contrast

On white

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

On black

5.59
#B857EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B857EA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B857EA#FFFFFF#000000##000000
##B857EA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7FEF
Deuteranopia (green-blind)
#4B86E7
Tritanopia (blue-blind)
#B27399
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b857ea;
/* rgb */ color: rgb(184, 87, 234);
/* oklch */ color: oklch(63.9% 0.221 312.2);
Tailwind
colors: {
  custom: {
    50: '#d18cf1',
    500: '#b857ea',
    950: '#000000',
  },
}
SCSS
$custom: #b857ea;
$custom-light: #d18cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b857ea",
  "rgb": {
    "r": 184,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 279.592,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63919,
    "c": 0.22117,
    "h": 312.2
  },
  "luminance": 0.22947
}

Semantic roles & 50–950 ramp

primary
#B857EA
secondary
#C6E9B4
accent
#DA0B52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B857EA

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

Preview Lab → · Contrast checker → · Palette generator →

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