#B862FF#B862FF

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

Color values

HEX#B862FF
RGBrgb(184, 98, 255)
HSLhsl(273, 100%, 69%)
HSVhsv(273, 62%, 100%)
CMYKcmyk(27.8%, 61.6%, 0%, 0%)
CIE-LABlab(58.18, 61.66, -64.83)
CIE-LCHlch(58.18, 89.47, 313.57°)
OKLaboklab(66.61% 0.1352 -0.1833)
OKLCHoklch(66.61% 0.228 306.4)
XYZxyz(42.1810, 26.1461, 97.4129)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862FF #A9FF62
analogous
#6A62FF #B862FF #FF62F8
triadic
#B862FF #FFB862 #62FFB8
tetradic
#B862FF #FF6A62 #A9FF62 #62F8FF
square
#B862FF #FF6A62 #A9FF62 #62F8FF
split-complementary
#B862FF #F8FF62 #62FF6A
monochromatic
#7E00E7 #9C25FF #B862FF #D49FFF #EFDCFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B862FF#FFFFFF#000000##000000
##B862FF1.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)
#0089FF
Deuteranopia (green-blind)
#418CFB
Tritanopia (blue-blind)
#AC82A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b862ff;
/* rgb */ color: rgb(184, 98, 255);
/* oklch */ color: oklch(66.6% 0.228 306.4);
Tailwind
colors: {
  custom: {
    50: '#d293ff',
    500: '#b862ff',
    950: '#000000',
  },
}
SCSS
$custom: #b862ff;
$custom-light: #d293ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b862ff",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 272.866,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.22776,
    "h": 306.4
  },
  "luminance": 0.26146
}

Semantic roles & 50–950 ramp

primary
#B862FF
secondary
#DCF5C8
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #B862FF

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

Preview Lab → · Contrast checker → · Palette generator →

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