#B864F5#B864F5

#B864F5 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.2% C 0.214 H 308.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B864F5
RGBrgb(184, 100, 245)
HSLhsl(275, 88%, 68%)
HSVhsv(275, 59%, 96%)
CMYKcmyk(24.9%, 59.2%, 0%, 3.9%)
CIE-LABlab(57.94, 58.48, -59.67)
CIE-LCHlch(57.94, 83.55, 314.42°)
OKLaboklab(66.25% 0.1331 -0.1682)
OKLCHoklch(66.25% 0.214 308.4)
XYZxyz(40.8025, 25.8979, 89.2178)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B864F5 #A1F564
analogous
#7064F5 #B864F5 #F564E9
triadic
#B864F5 #F5B864 #64F5B8
tetradic
#B864F5 #F57064 #A1F564 #64E9F5
square
#B864F5 #F57064 #A1F564 #64E9F5
split-complementary
#B864F5 #E9F564 #64F570
monochromatic
#7F0DD1 #9E2BF1 #B864F5 #D29DF9 #EDD7FC

Accessibility & contrast

On white

3.40
#B864F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B864F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B864F5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B864F5#FFFFFF#000000##000000
##B864F51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FA
Deuteranopia (green-blind)
#4F8CF2
Tritanopia (blue-blind)
#AF80A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b864f5;
/* rgb */ color: rgb(184, 100, 245);
/* oklch */ color: oklch(66.2% 0.214 308.4);
Tailwind
colors: {
  custom: {
    50: '#d194f9',
    500: '#b864f5',
    950: '#000000',
  },
}
SCSS
$custom: #b864f5;
$custom-light: #d194f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b864f5",
  "rgb": {
    "r": 184,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 274.759,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66245,
    "c": 0.21448,
    "h": 308.4
  },
  "luminance": 0.25897
}

Semantic roles & 50–950 ramp

primary
#B864F5
secondary
#D7F1C4
accent
#E40161
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B864F5

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

Preview Lab → · Contrast checker → · Palette generator →

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