#B856F2#B856F2

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

Color values

HEX#B856F2
RGBrgb(184, 86, 242)
HSLhsl(278, 86%, 64%)
HSVhsv(278, 64%, 95%)
CMYKcmyk(24%, 64.5%, 0%, 5.1%)
CIE-LABlab(55.34, 64.44, -62.18)
CIE-LCHlch(55.34, 89.54, 316.02°)
OKLaboklab(64.3% 0.1493 -0.1755)
OKLCHoklch(64.3% 0.23 310.4)
XYZxyz(39.1189, 23.2576, 86.4156)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B856F2 #90F256
analogous
#6A56F2 #B856F2 #F256DE
triadic
#B856F2 #F2B856 #56F2B8
tetradic
#B856F2 #F26A56 #90F256 #56DEF2
square
#B856F2 #F26A56 #90F256 #56DEF2
split-complementary
#B856F2 #DEF256 #56F26A
monochromatic
#7D0FBF #A01DEE #B856F2 #D08FF6 #E8C8FB

Accessibility & contrast

On white

3.72
#B856F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B856F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B856F2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B856F2#FFFFFF#000000##000000
##B856F21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4286EE
Tritanopia (blue-blind)
#B0769D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b856f2;
/* rgb */ color: rgb(184, 86, 242);
/* oklch */ color: oklch(64.3% 0.230 310.4);
Tailwind
colors: {
  custom: {
    50: '#d18cf7',
    500: '#b856f2',
    950: '#000000',
  },
}
SCSS
$custom: #b856f2;
$custom-light: #d18cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b856f2",
  "rgb": {
    "r": 184,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 277.692,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64303,
    "c": 0.23039,
    "h": 310.4
  },
  "luminance": 0.23257
}

Semantic roles & 50–950 ramp

primary
#B856F2
secondary
#CBEDB7
accent
#E20356
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B856F2

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

Preview Lab → · Contrast checker → · Palette generator →

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