#862ABA#862ABA

#862ABA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.213 H 309.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#862ABA
RGBrgb(134, 42, 186)
HSLhsl(278, 63%, 45%)
HSVhsv(278, 77%, 73%)
CMYKcmyk(28%, 77.4%, 0%, 27.1%)
CIE-LABlab(38.32, 60.85, -57.92)
CIE-LCHlch(38.32, 84.01, 316.42°)
OKLaboklab(49.58% 0.136 -0.1643)
OKLCHoklch(49.58% 0.213 309.6)
XYZxyz(19.5206, 10.2698, 47.3988)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862ABA #5EBA2A
analogous
#3E2ABA #862ABA #BA2AA6
triadic
#862ABA #BA862A #2ABA86
tetradic
#862ABA #BA3E2A #5EBA2A #2AA6BA
square
#862ABA #BA3E2A #5EBA2A #2AA6BA
split-complementary
#862ABA #A6BA2A #2ABA3E
monochromatic
#3E1356 #621F88 #862ABA #A44BD6 #BD7DE2

Accessibility & contrast

On white

6.88
#862ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #862ABA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862ABA#FFFFFF#000000##FFFFFF
##862ABA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#7E4E71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862aba;
/* rgb */ color: rgb(134, 42, 186);
/* oklch */ color: oklch(49.6% 0.213 309.6);
Tailwind
colors: {
  custom: {
    50: '#ae6ed0',
    500: '#862aba',
    950: '#000000',
  },
}
SCSS
$custom: #862aba;
$custom-light: #ae6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#862aba",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 278.333,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.21334,
    "h": 309.6
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#862ABA
secondary
#94CA76
accent
#E6427D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #862ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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