#B861FA#B861FA

#B861FA is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.2% C 0.224 H 307.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B861FA
RGBrgb(184, 97, 250)
HSLhsl(274, 94%, 68%)
HSVhsv(274, 61%, 98%)
CMYKcmyk(26.4%, 61.2%, 0%, 2%)
CIE-LABlab(57.70, 61.04, -62.83)
CIE-LCHlch(57.70, 87.60, 314.17°)
OKLaboklab(66.16% 0.1365 -0.1775)
OKLCHoklch(66.16% 0.224 307.6)
XYZxyz(41.2936, 25.6424, 93.1981)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B861FA #A3FA61
analogous
#6B61FA #B861FA #FA61EF
triadic
#B861FA #FAB861 #61FAB8
tetradic
#B861FA #FA6B61 #A3FA61 #61EFFA
square
#B861FA #FA6B61 #A3FA61 #61EFFA
split-complementary
#B861FA #EFFA61 #61FA6B
monochromatic
#7F07DA #9D26F8 #B861FA #D39CFC #EDD8FE

Accessibility & contrast

On white

3.43
#B861FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#B861FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B861FA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B861FA#FFFFFF#000000##000000
##B861FA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A87FF
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#AE80A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b861fa;
/* rgb */ color: rgb(184, 97, 250);
/* oklch */ color: oklch(66.2% 0.224 307.6);
Tailwind
colors: {
  custom: {
    50: '#d192fd',
    500: '#b861fa',
    950: '#000000',
  },
}
SCSS
$custom: #b861fa;
$custom-light: #d192fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b861fa",
  "rgb": {
    "r": 184,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 274.118,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66163,
    "c": 0.22389,
    "h": 307.6
  },
  "luminance": 0.25642
}

Semantic roles & 50–950 ramp

primary
#B861FA
secondary
#D8F3C4
accent
#E60063
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B861FA

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

Preview Lab → · Contrast checker → · Palette generator →

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