#862CB7#862CB7

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

Color values

HEX#862CB7
RGBrgb(134, 44, 183)
HSLhsl(279, 61%, 45%)
HSVhsv(279, 76%, 72%)
CMYKcmyk(26.8%, 76%, 0%, 28.2%)
CIE-LABlab(38.36, 59.48, -56.09)
CIE-LCHlch(38.36, 81.76, 316.68°)
OKLaboklab(49.53% 0.1349 -0.159)
OKLCHoklch(49.53% 0.209 310.3)
XYZxyz(19.2778, 10.2890, 45.7610)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CB7 #5DB72C
analogous
#412CB7 #862CB7 #B72CA3
triadic
#862CB7 #B7862C #2CB786
tetradic
#862CB7 #B7412C #5DB72C #2CA3B7
square
#862CB7 #B7412C #5DB72C #2CA3B7
split-complementary
#862CB7 #A3B72C #2CB741
monochromatic
#3E1454 #622086 #862CB7 #A44CD4 #BD7EE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862CB7#FFFFFF#000000##FFFFFF
##862CB71.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)
#0056BB
Deuteranopia (green-blind)
#045CB4
Tritanopia (blue-blind)
#7F4D70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862cb7;
/* rgb */ color: rgb(134, 44, 183);
/* oklch */ color: oklch(49.5% 0.208 310.3);
Tailwind
colors: {
  custom: {
    50: '#ae6fcd',
    500: '#862cb7',
    950: '#000000',
  },
}
SCSS
$custom: #862cb7;
$custom-light: #ae6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#862cb7",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 278.849,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49529,
    "c": 0.2085,
    "h": 310.3
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#862CB7
secondary
#93C876
accent
#E4437C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #862CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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