#862FB0#862FB0

#862FB0 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.199 H 312.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#862FB0
RGBrgb(134, 47, 176)
HSLhsl(280, 58%, 44%)
HSVhsv(280, 73%, 69%)
CMYKcmyk(23.9%, 73.3%, 0%, 31%)
CIE-LABlab(38.26, 56.82, -52.10)
CIE-LCHlch(38.26, 77.09, 317.49°)
OKLaboklab(49.31% 0.1332 -0.1473)
OKLCHoklch(49.31% 0.199 312.1)
XYZxyz(18.6831, 10.2365, 42.0575)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FB0 #59B02F
analogous
#452FB0 #862FB0 #B02F99
triadic
#862FB0 #B0862F #2FB086
tetradic
#862FB0 #B0452F #59B02F #2F99B0
square
#862FB0 #B0452F #59B02F #2F99B0
split-complementary
#862FB0 #99B02F #2FB045
monochromatic
#3C154F #612280 #862FB0 #A54DCF #BD7DDC

Accessibility & contrast

On white

6.89
#862FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#862FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FB0
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FB0#FFFFFF#000000##FFFFFF
##862FB01.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#1E5CAD
Tritanopia (blue-blind)
#814C6D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862fb0;
/* rgb */ color: rgb(134, 47, 176);
/* oklch */ color: oklch(49.3% 0.199 312.1);
Tailwind
colors: {
  custom: {
    50: '#ad70c8',
    500: '#862fb0',
    950: '#000000',
  },
}
SCSS
$custom: #862fb0;
$custom-light: #ad70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#862fb0",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 280.465,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49305,
    "c": 0.1986,
    "h": 312.1
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#862FB0
secondary
#90C576
accent
#E14779
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862FB0

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

Preview Lab → · Contrast checker → · Palette generator →

#862FB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva