#862DB3#862DB3

#862DB3 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.204 H 311.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#862DB3
RGBrgb(134, 45, 179)
HSLhsl(280, 60%, 44%)
HSVhsv(280, 75%, 70%)
CMYKcmyk(25.1%, 74.9%, 0%, 29.8%)
CIE-LABlab(38.20, 58.25, -53.98)
CIE-LCHlch(38.20, 79.41, 317.18°)
OKLaboklab(49.33% 0.1347 -0.1528)
OKLCHoklch(49.33% 0.204 311.4)
XYZxyz(18.9050, 10.2003, 43.6120)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DB3 #5AB32D
analogous
#432DB3 #862DB3 #B32D9D
triadic
#862DB3 #B3862D #2DB386
tetradic
#862DB3 #B3432D #5AB32D #2D9DB3
square
#862DB3 #B3432D #5AB32D #2D9DB3
split-complementary
#862DB3 #9DB32D #2DB343
monochromatic
#3D1451 #612182 #862DB3 #A54BD2 #BD7CDE

Accessibility & contrast

On white

6.91
#862DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#862DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862DB3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DB3#FFFFFF#000000##FFFFFF
##862DB31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#155BB0
Tritanopia (blue-blind)
#804C6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862db3;
/* rgb */ color: rgb(134, 45, 179);
/* oklch */ color: oklch(49.3% 0.204 311.4);
Tailwind
colors: {
  custom: {
    50: '#ae6fcb',
    500: '#862db3',
    950: '#000000',
  },
}
SCSS
$custom: #862db3;
$custom-light: #ae6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#862db3",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 279.851,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.20368,
    "h": 311.4
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#862DB3
secondary
#91C775
accent
#E3457A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #862DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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