#B857F0#B857F0

#B857F0 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.3% C 0.227 H 310.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B857F0
RGBrgb(184, 87, 240)
HSLhsl(278, 84%, 64%)
HSVhsv(278, 64%, 94%)
CMYKcmyk(23.3%, 63.7%, 0%, 5.9%)
CIE-LABlab(55.38, 63.56, -60.99)
CIE-LCHlch(55.38, 88.09, 316.18°)
OKLaboklab(64.29% 0.1483 -0.172)
OKLCHoklch(64.29% 0.227 310.8)
XYZxyz(38.9006, 23.2989, 84.8691)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B857F0 #8FF057
analogous
#6C57F0 #B857F0 #F057DC
triadic
#B857F0 #F0B857 #57F0B8
tetradic
#B857F0 #F06C57 #8FF057 #57DCF0
square
#B857F0 #F06C57 #8FF057 #57DCF0
split-complementary
#B857F0 #DCF057 #57F06C
monochromatic
#7D11BC #A01FEB #B857F0 #D08FF5 #E7C7FA

Accessibility & contrast

On white

3.71
#B857F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B857F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B857F0
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B857F0#FFFFFF#000000##000000
##B857F01.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#B1769C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b857f0;
/* rgb */ color: rgb(184, 87, 240);
/* oklch */ color: oklch(64.3% 0.227 310.8);
Tailwind
colors: {
  custom: {
    50: '#d18cf6',
    500: '#b857f0',
    950: '#000000',
  },
}
SCSS
$custom: #b857f0;
$custom-light: #d18cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b857f0",
  "rgb": {
    "r": 184,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 278.039,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64294,
    "c": 0.22711,
    "h": 310.8
  },
  "luminance": 0.23298
}

Semantic roles & 50–950 ramp

primary
#B857F0
secondary
#CAECB7
accent
#E00555
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B857F0

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

Preview Lab → · Contrast checker → · Palette generator →

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