#862795#862795

#862795 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.183 H 321.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#862795
RGBrgb(134, 39, 149)
HSLhsl(292, 59%, 37%)
HSVhsv(292, 74%, 58%)
CMYKcmyk(10.1%, 73.8%, 0%, 41.6%)
CIE-LABlab(35.38, 54.50, -40.48)
CIE-LCHlch(35.38, 67.89, 323.40°)
OKLaboklab(46.68% 0.144 -0.1132)
OKLCHoklch(46.68% 0.183 321.8)
XYZxyz(15.9813, 8.6902, 29.2635)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862795 #369527
analogous
#4F2795 #862795 #95276D
triadic
#862795 #958627 #279586
tetradic
#862795 #954F27 #369527 #276D95
square
#862795 #954F27 #369527 #276D95
split-complementary
#862795 #6D9527 #27954F
monochromatic
#2F0E34 #5A1A64 #862795 #B234C6 #C661D6

Accessibility & contrast

On white

7.67
#862795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#862795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862795
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862795#FFFFFF#000000##FFFFFF
##8627951.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#365792
Tritanopia (blue-blind)
#873C5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862795;
/* rgb */ color: rgb(134, 39, 149);
/* oklch */ color: oklch(46.7% 0.183 321.8);
Tailwind
colors: {
  custom: {
    50: '#ad6bb5',
    500: '#862795',
    950: '#000000',
  },
}
SCSS
$custom: #862795;
$custom-light: #ad6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#862795",
  "rgb": {
    "r": 134,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 291.818,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.18317,
    "h": 321.8
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#862795
secondary
#6ABB5D
accent
#E2465B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862795

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

Preview Lab → · Contrast checker → · Palette generator →

#862795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva