#862296#862296

#862296 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.189 H 321.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#862296
RGBrgb(134, 34, 150)
HSLhsl(292, 63%, 36%)
HSVhsv(292, 77%, 59%)
CMYKcmyk(10.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(34.83, 56.44, -41.97)
CIE-LCHlch(34.83, 70.33, 323.37°)
OKLaboklab(46.31% 0.1487 -0.1175)
OKLCHoklch(46.31% 0.189 321.7)
XYZxyz(15.9080, 8.4153, 29.6346)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862296 #329622
analogous
#4C2296 #862296 #96226C
triadic
#862296 #968622 #229686
tetradic
#862296 #964C22 #329622 #226C96
square
#862296 #964C22 #329622 #226C96
split-complementary
#862296 #6C9622 #22964C
monochromatic
#2D0B32 #591764 #862296 #B32DC8 #C859D9

Accessibility & contrast

On white

7.83
#862296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#862296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862296
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862296#FFFFFF#000000##FFFFFF
##8622961.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#325693
Tritanopia (blue-blind)
#87395B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862296;
/* rgb */ color: rgb(134, 34, 150);
/* oklch */ color: oklch(46.3% 0.189 321.7);
Tailwind
colors: {
  custom: {
    50: '#ad69b5',
    500: '#862296',
    950: '#000000',
  },
}
SCSS
$custom: #862296;
$custom-light: #ad69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#862296",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 291.724,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.18949,
    "h": 321.7
  },
  "luminance": 0.08414
}

Semantic roles & 50–950 ramp

primary
#862296
secondary
#64BE56
accent
#E64258
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862296

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

Preview Lab → · Contrast checker → · Palette generator →

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