#B856F7#B856F7

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

Color values

HEX#B856F7
RGBrgb(184, 86, 247)
HSLhsl(277, 91%, 65%)
HSVhsv(277, 65%, 97%)
CMYKcmyk(25.5%, 65.2%, 0%, 3.1%)
CIE-LABlab(55.65, 65.50, -64.46)
CIE-LCHlch(55.65, 91.90, 315.46°)
OKLaboklab(64.63% 0.1489 -0.1822)
OKLCHoklch(64.63% 0.235 309.3)
XYZxyz(39.8801, 23.5620, 90.4247)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B856F7 #95F756
analogous
#6856F7 #B856F7 #F756E5
triadic
#B856F7 #F7B856 #56F7B8
tetradic
#B856F7 #F76856 #95F756 #56E5F7
square
#B856F7 #F76856 #95F756 #56E5F7
split-complementary
#B856F7 #E5F756 #56F768
monochromatic
#7E0AC9 #9F1CF4 #B856F7 #D190FA #E9CBFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B856F7#FFFFFF#000000##000000
##B856F71.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)
#0081FC
Deuteranopia (green-blind)
#3B87F3
Tritanopia (blue-blind)
#AF78A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b856f7;
/* rgb */ color: rgb(184, 86, 247);
/* oklch */ color: oklch(64.6% 0.235 309.3);
Tailwind
colors: {
  custom: {
    50: '#d28cfb',
    500: '#b856f7',
    950: '#000000',
  },
}
SCSS
$custom: #b856f7;
$custom-light: #d28cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b856f7",
  "rgb": {
    "r": 184,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 276.522,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64625,
    "c": 0.23532,
    "h": 309.3
  },
  "luminance": 0.23561
}

Semantic roles & 50–950 ramp

primary
#B856F7
secondary
#CFF0B9
accent
#E6005A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B856F7

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

Preview Lab → · Contrast checker → · Palette generator →

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