#B864F4#B864F4

#B864F4 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.2% C 0.213 H 308.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B864F4
RGBrgb(184, 100, 244)
HSLhsl(275, 87%, 67%)
HSVhsv(275, 59%, 96%)
CMYKcmyk(24.6%, 59%, 0%, 4.3%)
CIE-LABlab(57.88, 58.26, -59.21)
CIE-LCHlch(57.88, 83.06, 314.54°)
OKLaboklab(66.18% 0.1331 -0.1668)
OKLCHoklch(66.18% 0.213 308.6)
XYZxyz(40.6502, 25.8370, 88.4160)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B864F4 #A0F464
analogous
#7064F4 #B864F4 #F464E8
triadic
#B864F4 #F4B864 #64F4B8
tetradic
#B864F4 #F47064 #A0F464 #64E8F4
square
#B864F4 #F47064 #A0F464 #64E8F4
split-complementary
#B864F4 #E8F464 #64F470
monochromatic
#7F0FCF #9E2BF0 #B864F4 #D29DF8 #ECD6FC

Accessibility & contrast

On white

3.41
#B864F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B864F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B864F4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B864F4#FFFFFF#000000##000000
##B864F41.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988F9
Deuteranopia (green-blind)
#508CF1
Tritanopia (blue-blind)
#AF80A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b864f4;
/* rgb */ color: rgb(184, 100, 244);
/* oklch */ color: oklch(66.2% 0.213 308.6);
Tailwind
colors: {
  custom: {
    50: '#d194f8',
    500: '#b864f4',
    950: '#000000',
  },
}
SCSS
$custom: #b864f4;
$custom-light: #d194f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b864f4",
  "rgb": {
    "r": 184,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 275,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.21343,
    "h": 308.6
  },
  "luminance": 0.25836
}

Semantic roles & 50–950 ramp

primary
#B864F4
secondary
#D6F0C3
accent
#E30260
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B864F4

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

Preview Lab → · Contrast checker → · Palette generator →

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