#B862FC#B862FC

#B862FC is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.4% C 0.225 H 307.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B862FC
RGBrgb(184, 98, 252)
HSLhsl(274, 96%, 69%)
HSVhsv(274, 61%, 99%)
CMYKcmyk(27%, 61.1%, 0%, 1.2%)
CIE-LABlab(57.99, 61.00, -63.46)
CIE-LCHlch(57.99, 88.02, 313.87°)
OKLaboklab(66.42% 0.1353 -0.1793)
OKLCHoklch(66.42% 0.225 307)
XYZxyz(41.7019, 25.9545, 94.8894)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862FC #A6FC62
analogous
#6B62FC #B862FC #FC62F3
triadic
#B862FC #FCB862 #62FCB8
tetradic
#B862FC #FC6B62 #A6FC62 #62F3FC
square
#B862FC #FC6B62 #A6FC62 #62F3FC
split-complementary
#B862FC #F3FC62 #62FC6B
monochromatic
#7F04DF #9D26FB #B862FC #D39EFD #EEDAFE

Accessibility & contrast

On white

3.39
#B862FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B862FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862FC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862FC#FFFFFF#000000##000000
##B862FC1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0788FF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#AD81A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b862fc;
/* rgb */ color: rgb(184, 98, 252);
/* oklch */ color: oklch(66.4% 0.225 307.0);
Tailwind
colors: {
  custom: {
    50: '#d193fe',
    500: '#b862fc',
    950: '#000000',
  },
}
SCSS
$custom: #b862fc;
$custom-light: #d193fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b862fc",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 273.506,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66417,
    "c": 0.22462,
    "h": 307
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B862FC

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

Preview Lab → · Contrast checker → · Palette generator →

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