#862ABF#862ABF

#862ABF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.218 H 308.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#862ABF
RGBrgb(134, 42, 191)
HSLhsl(277, 64%, 46%)
HSVhsv(277, 78%, 75%)
CMYKcmyk(29.8%, 78%, 0%, 25.1%)
CIE-LABlab(38.70, 61.92, -60.24)
CIE-LCHlch(38.70, 86.39, 315.79°)
OKLaboklab(49.96% 0.1349 -0.1712)
OKLCHoklch(49.96% 0.218 308.2)
XYZxyz(20.0615, 10.4862, 50.2473)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862ABF #63BF2A
analogous
#3C2ABF #862ABF #BF2AAD
triadic
#862ABF #BF862A #2ABF86
tetradic
#862ABF #BF3C2A #63BF2A #2AADBF
square
#862ABF #BF3C2A #63BF2A #2AADBF
split-complementary
#862ABF #ADBF2A #2ABF3C
monochromatic
#40145B #631F8D #862ABF #A34ED8 #BD80E3

Accessibility & contrast

On white

6.78
#862ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#862ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862ABF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862ABF#FFFFFF#000000##FFFFFF
##862ABF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#7D5074
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #862abf;
/* rgb */ color: rgb(134, 42, 191);
/* oklch */ color: oklch(50.0% 0.218 308.2);
Tailwind
colors: {
  custom: {
    50: '#af6ed3',
    500: '#862abf',
    950: '#000000',
  },
}
SCSS
$custom: #862abf;
$custom-light: #af6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#862abf",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 277.047,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49959,
    "c": 0.21796,
    "h": 308.2
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#862ABF
secondary
#99CC79
accent
#E74180
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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