#B864F9#B864F9

#B864F9 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.5% C 0.219 H 307.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B864F9
RGBrgb(184, 100, 249)
HSLhsl(274, 93%, 68%)
HSVhsv(274, 60%, 98%)
CMYKcmyk(26.1%, 59.8%, 0%, 2.4%)
CIE-LABlab(58.17, 59.36, -61.51)
CIE-LCHlch(58.17, 85.48, 313.98°)
OKLaboklab(66.49% 0.133 -0.1736)
OKLCHoklch(66.49% 0.219 307.5)
XYZxyz(41.4197, 26.1448, 92.4686)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B864F9 #A5F964
analogous
#6D64F9 #B864F9 #F964EF
triadic
#B864F9 #F9B864 #64F9B8
tetradic
#B864F9 #F96D64 #A5F964 #64EFF9
square
#B864F9 #F96D64 #A5F964 #64EFF9
split-complementary
#B864F9 #EFF964 #64F96D
monochromatic
#7F08DA #9D29F7 #B864F9 #D39FFB #EEDAFE

Accessibility & contrast

On white

3.37
#B864F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B864F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B864F9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B864F9#FFFFFF#000000##000000
##B864F91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E89FE
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#AE81A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b864f9;
/* rgb */ color: rgb(184, 100, 249);
/* oklch */ color: oklch(66.5% 0.219 307.5);
Tailwind
colors: {
  custom: {
    50: '#d194fc',
    500: '#b864f9',
    950: '#000000',
  },
}
SCSS
$custom: #b864f9;
$custom-light: #d194fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b864f9",
  "rgb": {
    "r": 184,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 273.826,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66491,
    "c": 0.21871,
    "h": 307.5
  },
  "luminance": 0.26144
}

Semantic roles & 50–950 ramp

primary
#B864F9
secondary
#DAF3C6
accent
#E60064
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B864F9

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

Preview Lab → · Contrast checker → · Palette generator →

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