#B864F6#B864F6

#B864F6 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.3% C 0.216 H 308.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B864F6
RGBrgb(184, 100, 246)
HSLhsl(275, 89%, 68%)
HSVhsv(275, 59%, 96%)
CMYKcmyk(25.2%, 59.3%, 0%, 3.5%)
CIE-LABlab(58.00, 58.70, -60.13)
CIE-LCHlch(58.00, 84.03, 314.31°)
OKLaboklab(66.31% 0.1331 -0.1695)
OKLCHoklch(66.31% 0.216 308.1)
XYZxyz(40.9555, 25.9591, 90.0240)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B864F6 #A2F664
analogous
#6F64F6 #B864F6 #F664EB
triadic
#B864F6 #F6B864 #64F6B8
tetradic
#B864F6 #F66F64 #A2F664 #64EBF6
square
#B864F6 #F66F64 #A2F664 #64EBF6
split-complementary
#B864F6 #EBF664 #64F66F
monochromatic
#7F0CD3 #9E2AF3 #B864F6 #D29EF9 #EDD8FD

Accessibility & contrast

On white

3.39
#B864F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B864F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B864F6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B864F6#FFFFFF#000000##000000
##B864F61.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2588FB
Deuteranopia (green-blind)
#4E8CF3
Tritanopia (blue-blind)
#AF80A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b864f6;
/* rgb */ color: rgb(184, 100, 246);
/* oklch */ color: oklch(66.3% 0.216 308.1);
Tailwind
colors: {
  custom: {
    50: '#d194fa',
    500: '#b864f6',
    950: '#000000',
  },
}
SCSS
$custom: #b864f6;
$custom-light: #d194fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b864f6",
  "rgb": {
    "r": 184,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 274.521,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66306,
    "c": 0.21554,
    "h": 308.1
  },
  "luminance": 0.25959
}

Semantic roles & 50–950 ramp

primary
#B864F6
secondary
#D8F1C4
accent
#E60061
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B864F6

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

Preview Lab → · Contrast checker → · Palette generator →

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