#B864FA#B864FA

#B864FA is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.6% C 0.220 H 307.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B864FA
RGBrgb(184, 100, 250)
HSLhsl(274, 94%, 69%)
HSVhsv(274, 60%, 98%)
CMYKcmyk(26.4%, 60%, 0%, 2%)
CIE-LABlab(58.23, 59.58, -61.97)
CIE-LCHlch(58.23, 85.97, 313.87°)
OKLaboklab(66.55% 0.133 -0.1749)
OKLCHoklch(66.55% 0.22 307.2)
XYZxyz(41.5761, 26.2073, 93.2922)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B864FA #A6FA64
analogous
#6D64FA #B864FA #FA64F1
triadic
#B864FA #FAB864 #64FAB8
tetradic
#B864FA #FA6D64 #A6FA64 #64F1FA
square
#B864FA #FA6D64 #A6FA64 #64F1FA
split-complementary
#B864FA #F1FA64 #64FA6D
monochromatic
#7F07DC #9D29F8 #B864FA #D39FFC #EEDBFE

Accessibility & contrast

On white

3.36
#B864FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B864FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B864FA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B864FA#FFFFFF#000000##000000
##B864FA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C89FF
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#AE82A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b864fa;
/* rgb */ color: rgb(184, 100, 250);
/* oklch */ color: oklch(66.6% 0.220 307.2);
Tailwind
colors: {
  custom: {
    50: '#d194fd',
    500: '#b864fa',
    950: '#000000',
  },
}
SCSS
$custom: #b864fa;
$custom-light: #d194fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b864fa",
  "rgb": {
    "r": 184,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 273.6,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66553,
    "c": 0.21977,
    "h": 307.2
  },
  "luminance": 0.26207
}

Semantic roles & 50–950 ramp

primary
#B864FA
secondary
#DAF3C7
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B864FA

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

Preview Lab → · Contrast checker → · Palette generator →

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