#862EB3#862EB3

#862EB3 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.203 H 311.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#862EB3
RGBrgb(134, 46, 179)
HSLhsl(280, 59%, 44%)
HSVhsv(280, 74%, 70%)
CMYKcmyk(25.1%, 74.3%, 0%, 29.8%)
CIE-LABlab(38.34, 57.86, -53.76)
CIE-LCHlch(38.34, 78.98, 317.10°)
OKLaboklab(49.42% 0.1337 -0.1522)
OKLCHoklch(49.42% 0.203 311.3)
XYZxyz(18.9437, 10.2775, 43.6249)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EB3 #5BB32E
analogous
#442EB3 #862EB3 #B32E9E
triadic
#862EB3 #B3862E #2EB386
tetradic
#862EB3 #B3442E #5BB32E #2E9EB3
square
#862EB3 #B3442E #5BB32E #2E9EB3
split-complementary
#862EB3 #9EB32E #2EB344
monochromatic
#3D1552 #622182 #862EB3 #A44DD1 #BD7EDE

Accessibility & contrast

On white

6.87
#862EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#862EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862EB3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EB3#FFFFFF#000000##FFFFFF
##862EB31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#804D6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862eb3;
/* rgb */ color: rgb(134, 46, 179);
/* oklch */ color: oklch(49.4% 0.203 311.3);
Tailwind
colors: {
  custom: {
    50: '#ae70ca',
    500: '#862eb3',
    950: '#000000',
  },
}
SCSS
$custom: #862eb3;
$custom-light: #ae70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#862eb3",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 279.699,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49423,
    "c": 0.20258,
    "h": 311.3
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#862EB3
secondary
#91C676
accent
#E2467B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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