#862495#862495

#862495 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.187 H 322.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#862495
RGBrgb(134, 36, 149)
HSLhsl(292, 61%, 36%)
HSVhsv(292, 76%, 58%)
CMYKcmyk(10.1%, 75.8%, 0%, 41.6%)
CIE-LABlab(35.01, 55.57, -41.08)
CIE-LCHlch(35.01, 69.11, 323.53°)
OKLaboklab(46.42% 0.1469 -0.1149)
OKLCHoklch(46.42% 0.187 322)
XYZxyz(15.8866, 8.5009, 29.2320)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862495 #339524
analogous
#4E2495 #862495 #95246C
triadic
#862495 #958624 #249586
tetradic
#862495 #954E24 #339524 #246C95
square
#862495 #954E24 #339524 #246C95
split-complementary
#862495 #6C9524 #24954E
monochromatic
#2D0C32 #5A1864 #862495 #B230C6 #C75CD8

Accessibility & contrast

On white

7.78
#862495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#862495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862495
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862495#FFFFFF#000000##FFFFFF
##8624951.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#345692
Tritanopia (blue-blind)
#873A5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862495;
/* rgb */ color: rgb(134, 36, 149);
/* oklch */ color: oklch(46.4% 0.187 322.0);
Tailwind
colors: {
  custom: {
    50: '#ad6ab5',
    500: '#862495',
    950: '#000000',
  },
}
SCSS
$custom: #862495;
$custom-light: #ad6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#862495",
  "rgb": {
    "r": 134,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 292.035,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46415,
    "c": 0.18653,
    "h": 322
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#862495
secondary
#66BC59
accent
#E44459
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862495

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

Preview Lab → · Contrast checker → · Palette generator →

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