#B861F6#B861F6

#B861F6 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.9% C 0.220 H 308.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B861F6
RGBrgb(184, 97, 246)
HSLhsl(275, 89%, 67%)
HSVhsv(275, 61%, 96%)
CMYKcmyk(25.2%, 60.6%, 0%, 3.5%)
CIE-LABlab(57.46, 60.16, -61.00)
CIE-LCHlch(57.46, 85.67, 314.60°)
OKLaboklab(65.91% 0.1366 -0.1721)
OKLCHoklch(65.91% 0.22 308.4)
XYZxyz(40.6731, 25.3942, 89.9298)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B861F6 #9FF661
analogous
#6E61F6 #B861F6 #F661E9
triadic
#B861F6 #F6B861 #61F6B8
tetradic
#B861F6 #F66E61 #9FF661 #61E9F6
square
#B861F6 #F66E61 #9FF661 #61E9F6
split-complementary
#B861F6 #E9F661 #61F66E
monochromatic
#7F0CD1 #9E27F3 #B861F6 #D29BF9 #ECD5FD

Accessibility & contrast

On white

3.45
#B861F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B861F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B861F6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B861F6#FFFFFF#000000##000000
##B861F61.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1986FB
Deuteranopia (green-blind)
#4A8BF3
Tritanopia (blue-blind)
#AF7EA3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b861f6;
/* rgb */ color: rgb(184, 97, 246);
/* oklch */ color: oklch(65.9% 0.220 308.4);
Tailwind
colors: {
  custom: {
    50: '#d192fa',
    500: '#b861f6',
    950: '#000000',
  },
}
SCSS
$custom: #b861f6;
$custom-light: #d192fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b861f6",
  "rgb": {
    "r": 184,
    "g": 97,
    "b": 246
  },
  "hsl": {
    "h": 275.034,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65913,
    "c": 0.21971,
    "h": 308.4
  },
  "luminance": 0.25394
}

Semantic roles & 50–950 ramp

primary
#B861F6
secondary
#D5F1C2
accent
#E6005F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B861F6

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

Preview Lab → · Contrast checker → · Palette generator →

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