#862794#862794

#862794 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.182 H 322.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#862794
RGBrgb(134, 39, 148)
HSLhsl(292, 58%, 37%)
HSVhsv(292, 74%, 58%)
CMYKcmyk(9.5%, 73.6%, 0%, 42%)
CIE-LABlab(35.32, 54.31, -39.97)
CIE-LCHlch(35.32, 67.43, 323.65°)
OKLaboklab(46.62% 0.1441 -0.1117)
OKLCHoklch(46.62% 0.182 322.2)
XYZxyz(15.9018, 8.6584, 28.8449)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862794 #359427
analogous
#502794 #862794 #94276C
triadic
#862794 #948627 #279486
tetradic
#862794 #945027 #359427 #276C94
square
#862794 #945027 #359427 #276C94
split-complementary
#862794 #6C9427 #279450
monochromatic
#2E0D33 #5A1A64 #862794 #B234C4 #C660D5

Accessibility & contrast

On white

7.69
#862794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#862794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862794
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862794#FFFFFF#000000##FFFFFF
##8627941.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#365791
Tritanopia (blue-blind)
#883B5B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862794;
/* rgb */ color: rgb(134, 39, 148);
/* oklch */ color: oklch(46.6% 0.182 322.2);
Tailwind
colors: {
  custom: {
    50: '#ad6bb4',
    500: '#862794',
    950: '#000000',
  },
}
SCSS
$custom: #862794;
$custom-light: #ad6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#862794",
  "rgb": {
    "r": 134,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 292.294,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.1823,
    "h": 322.2
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#862794
secondary
#68BB5C
accent
#E2465A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862794

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

Preview Lab → · Contrast checker → · Palette generator →

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