#B862F9#B862F9

#B862F9 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.2% C 0.221 H 307.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B862F9
RGBrgb(184, 98, 249)
HSLhsl(274, 93%, 68%)
HSVhsv(274, 61%, 98%)
CMYKcmyk(26.1%, 60.6%, 0%, 2.4%)
CIE-LABlab(57.81, 60.33, -62.09)
CIE-LCHlch(57.81, 86.57, 314.18°)
OKLaboklab(66.23% 0.1354 -0.1753)
OKLCHoklch(66.23% 0.221 307.7)
XYZxyz(41.2302, 25.7658, 92.4054)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862F9 #A3F962
analogous
#6C62F9 #B862F9 #F962EF
triadic
#B862F9 #F9B862 #62F9B8
tetradic
#B862F9 #F96C62 #A3F962 #62EFF9
square
#B862F9 #F96C62 #A3F962 #62EFF9
split-complementary
#B862F9 #EFF962 #62F96C
monochromatic
#7F08D8 #9D27F7 #B862F9 #D39DFB #EDD8FE

Accessibility & contrast

On white

3.41
#B862F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B862F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862F9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862F9#FFFFFF#000000##000000
##B862F91.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1588FE
Deuteranopia (green-blind)
#488CF6
Tritanopia (blue-blind)
#AE80A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b862f9;
/* rgb */ color: rgb(184, 98, 249);
/* oklch */ color: oklch(66.2% 0.221 307.7);
Tailwind
colors: {
  custom: {
    50: '#d193fc',
    500: '#b862f9',
    950: '#000000',
  },
}
SCSS
$custom: #b862f9;
$custom-light: #d193fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b862f9",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 274.172,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66229,
    "c": 0.22148,
    "h": 307.7
  },
  "luminance": 0.25765
}

Semantic roles & 50–950 ramp

primary
#B862F9
secondary
#D8F2C4
accent
#E60063
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B862F9

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

Preview Lab → · Contrast checker → · Palette generator →

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