#B857F4#B857F4

#B857F4 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.5% C 0.231 H 309.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B857F4
RGBrgb(184, 87, 244)
HSLhsl(277, 88%, 65%)
HSVhsv(277, 64%, 96%)
CMYKcmyk(24.6%, 64.3%, 0%, 4.3%)
CIE-LABlab(55.62, 64.41, -62.83)
CIE-LCHlch(55.62, 89.98, 315.71°)
OKLaboklab(64.55% 0.148 -0.1774)
OKLCHoklch(64.55% 0.231 309.8)
XYZxyz(39.5013, 23.5392, 88.0330)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B857F4 #93F457
analogous
#6A57F4 #B857F4 #F457E1
triadic
#B857F4 #F4B857 #57F4B8
tetradic
#B857F4 #F46A57 #93F457 #57E1F4
square
#B857F4 #F46A57 #93F457 #57E1F4
split-complementary
#B857F4 #E1F457 #57F46A
monochromatic
#7E0DC4 #A01EF0 #B857F4 #D090F8 #E9CAFC

Accessibility & contrast

On white

3.68
#B857F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B857F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B857F4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B857F4#FFFFFF#000000##000000
##B857F41.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#4087F0
Tritanopia (blue-blind)
#B0779E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b857f4;
/* rgb */ color: rgb(184, 87, 244);
/* oklch */ color: oklch(64.5% 0.231 309.8);
Tailwind
colors: {
  custom: {
    50: '#d28cf8',
    500: '#b857f4',
    950: '#000000',
  },
}
SCSS
$custom: #b857f4;
$custom-light: #d28cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b857f4",
  "rgb": {
    "r": 184,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 277.07,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64549,
    "c": 0.23108,
    "h": 309.8
  },
  "luminance": 0.23538
}

Semantic roles & 50–950 ramp

primary
#B857F4
secondary
#CDEEB9
accent
#E40158
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #B857F4

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

Preview Lab → · Contrast checker → · Palette generator →

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