#B862F8#B862F8

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

Color values

HEX#B862F8
RGBrgb(184, 98, 248)
HSLhsl(274, 91%, 68%)
HSVhsv(274, 60%, 97%)
CMYKcmyk(25.8%, 60.5%, 0%, 2.7%)
CIE-LABlab(57.75, 60.11, -61.63)
CIE-LCHlch(57.75, 86.09, 314.29°)
OKLaboklab(66.17% 0.1354 -0.1739)
OKLCHoklch(66.17% 0.22 307.9)
XYZxyz(41.0747, 25.7036, 91.5862)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862F8 #A2F862
analogous
#6D62F8 #B862F8 #F862ED
triadic
#B862F8 #F8B862 #62F8B8
tetradic
#B862F8 #F86D62 #A2F862 #62EDF8
square
#B862F8 #F86D62 #A2F862 #62EDF8
split-complementary
#B862F8 #EDF862 #62F86D
monochromatic
#7F0AD6 #9E27F5 #B862F8 #D29DFB #EDD7FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B862F8#FFFFFF#000000##000000
##B862F81.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)
#1887FD
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#AE80A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b862f8;
/* rgb */ color: rgb(184, 98, 248);
/* oklch */ color: oklch(66.2% 0.220 307.9);
Tailwind
colors: {
  custom: {
    50: '#d193fb',
    500: '#b862f8',
    950: '#000000',
  },
}
SCSS
$custom: #b862f8;
$custom-light: #d193fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b862f8",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 274.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.22043,
    "h": 307.9
  },
  "luminance": 0.25703
}

Semantic roles & 50–950 ramp

primary
#B862F8
secondary
#D8F2C4
accent
#E60062
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862F8

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

Preview Lab → · Contrast checker → · Palette generator →

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