#B862F5#B862F5

#B862F5 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.0% C 0.217 H 308.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B862F5
RGBrgb(184, 98, 245)
HSLhsl(275, 88%, 67%)
HSVhsv(275, 60%, 96%)
CMYKcmyk(24.9%, 60%, 0%, 3.9%)
CIE-LABlab(57.58, 59.45, -60.25)
CIE-LCHlch(57.58, 84.65, 314.62°)
OKLaboklab(65.98% 0.1355 -0.1699)
OKLCHoklch(65.98% 0.217 308.6)
XYZxyz(40.6130, 25.5189, 89.1546)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862F5 #9FF562
analogous
#6F62F5 #B862F5 #F562E9
triadic
#B862F5 #F5B862 #62F5B8
tetradic
#B862F5 #F56F62 #9FF562 #62E9F5
square
#B862F5 #F56F62 #9FF562 #62E9F5
split-complementary
#B862F5 #E9F562 #62F56F
monochromatic
#7F0DCF #9E28F1 #B862F5 #D29CF9 #ECD5FC

Accessibility & contrast

On white

3.44
#B862F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B862F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862F5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862F5#FFFFFF#000000##000000
##B862F51.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2087FA
Deuteranopia (green-blind)
#4C8BF2
Tritanopia (blue-blind)
#AF7FA3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b862f5;
/* rgb */ color: rgb(184, 98, 245);
/* oklch */ color: oklch(66.0% 0.217 308.6);
Tailwind
colors: {
  custom: {
    50: '#d193f9',
    500: '#b862f5',
    950: '#000000',
  },
}
SCSS
$custom: #b862f5;
$custom-light: #d193f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b862f5",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 275.102,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.21728,
    "h": 308.6
  },
  "luminance": 0.25518
}

Semantic roles & 50–950 ramp

primary
#B862F5
secondary
#D5F1C2
accent
#E5015F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862F5

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

Preview Lab → · Contrast checker → · Palette generator →

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