#B864F2#B864F2

#B864F2 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.1% C 0.211 H 309.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B864F2
RGBrgb(184, 100, 242)
HSLhsl(275, 85%, 67%)
HSVhsv(275, 59%, 95%)
CMYKcmyk(24%, 58.7%, 0%, 5.1%)
CIE-LABlab(57.77, 57.82, -58.28)
CIE-LCHlch(57.77, 82.09, 314.77°)
OKLaboklab(66.06% 0.1331 -0.1641)
OKLCHoklch(66.06% 0.211 309)
XYZxyz(40.3482, 25.7162, 86.8254)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B864F2 #9EF264
analogous
#7164F2 #B864F2 #F264E5
triadic
#B864F2 #F2B864 #64F2B8
tetradic
#B864F2 #F27164 #9EF264 #64E5F2
square
#B864F2 #F27164 #9EF264 #64E5F2
split-complementary
#B864F2 #E5F264 #64F271
monochromatic
#7F11CB #9E2CED #B864F2 #D29CF7 #ECD5FB

Accessibility & contrast

On white

3.42
#B864F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B864F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B864F2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B864F2#FFFFFF#000000##000000
##B864F21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F7
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#B07FA2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b864f2;
/* rgb */ color: rgb(184, 100, 242);
/* oklch */ color: oklch(66.1% 0.211 309.0);
Tailwind
colors: {
  custom: {
    50: '#d194f7',
    500: '#b864f2',
    950: '#000000',
  },
}
SCSS
$custom: #b864f2;
$custom-light: #d194f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b864f2",
  "rgb": {
    "r": 184,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 275.493,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66063,
    "c": 0.21131,
    "h": 309
  },
  "luminance": 0.25715
}

Semantic roles & 50–950 ramp

primary
#B864F2
secondary
#D5EFC2
accent
#E1055F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B864F2

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

Preview Lab → · Contrast checker → · Palette generator →

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