#B862F0#B862F0

#B862F0 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.212 H 309.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B862F0
RGBrgb(184, 98, 240)
HSLhsl(276, 83%, 66%)
HSVhsv(276, 59%, 94%)
CMYKcmyk(23.3%, 59.2%, 0%, 5.9%)
CIE-LABlab(57.29, 58.36, -57.93)
CIE-LCHlch(57.29, 82.24, 315.21°)
OKLaboklab(65.68% 0.1355 -0.1631)
OKLCHoklch(65.68% 0.212 309.7)
XYZxyz(39.8600, 25.2177, 85.1889)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862F0 #9AF062
analogous
#7162F0 #B862F0 #F062E1
triadic
#B862F0 #F0B862 #62F0B8
tetradic
#B862F0 #F07162 #9AF062 #62E1F0
square
#B862F0 #F07162 #9AF062 #62E1F0
split-complementary
#B862F0 #E1F062 #62F071
monochromatic
#7F13C5 #9F2AEB #B862F0 #D19AF5 #EBD2FB

Accessibility & contrast

On white

3.47
#B862F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B862F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862F0
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862F0#FFFFFF#000000##000000
##B862F01.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A86F5
Deuteranopia (green-blind)
#518BED
Tritanopia (blue-blind)
#B07DA0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b862f0;
/* rgb */ color: rgb(184, 98, 240);
/* oklch */ color: oklch(65.7% 0.212 309.7);
Tailwind
colors: {
  custom: {
    50: '#d193f6',
    500: '#b862f0',
    950: '#000000',
  },
}
SCSS
$custom: #b862f0;
$custom-light: #d193f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b862f0",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 276.338,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65677,
    "c": 0.21205,
    "h": 309.7
  },
  "luminance": 0.25217
}

Semantic roles & 50–950 ramp

primary
#B862F0
secondary
#D2EEC0
accent
#DF075C
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862F0

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

Preview Lab → · Contrast checker → · Palette generator →

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