#B864F8#B864F8

#B864F8 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.4% C 0.218 H 307.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B864F8
RGBrgb(184, 100, 248)
HSLhsl(274, 91%, 68%)
HSVhsv(274, 60%, 97%)
CMYKcmyk(25.8%, 59.7%, 0%, 2.7%)
CIE-LABlab(58.12, 59.14, -61.05)
CIE-LCHlch(58.12, 85.00, 314.09°)
OKLaboklab(66.43% 0.1331 -0.1722)
OKLCHoklch(66.43% 0.218 307.7)
XYZxyz(41.2641, 26.0825, 91.6494)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B864F8 #A4F864
analogous
#6E64F8 #B864F8 #F864EE
triadic
#B864F8 #F8B864 #64F8B8
tetradic
#B864F8 #F86E64 #A4F864 #64EEF8
square
#B864F8 #F86E64 #A4F864 #64EEF8
split-complementary
#B864F8 #EEF864 #64F86E
monochromatic
#7F0AD8 #9D29F5 #B864F8 #D39FFB #EED9FD

Accessibility & contrast

On white

3.38
#B864F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#B864F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B864F8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B864F8#FFFFFF#000000##000000
##B864F81.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2189FD
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#AE81A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b864f8;
/* rgb */ color: rgb(184, 100, 248);
/* oklch */ color: oklch(66.4% 0.218 307.7);
Tailwind
colors: {
  custom: {
    50: '#d194fb',
    500: '#b864f8',
    950: '#000000',
  },
}
SCSS
$custom: #b864f8;
$custom-light: #d194fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b864f8",
  "rgb": {
    "r": 184,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 274.054,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66429,
    "c": 0.21765,
    "h": 307.7
  },
  "luminance": 0.26082
}

Semantic roles & 50–950 ramp

primary
#B864F8
secondary
#D9F2C5
accent
#E60063
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B864F8

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

Preview Lab → · Contrast checker → · Palette generator →

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