#862295#862295

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

Color values

HEX#862295
RGBrgb(134, 34, 149)
HSLhsl(292, 63%, 36%)
HSVhsv(292, 77%, 58%)
CMYKcmyk(10.1%, 77.2%, 0%, 41.6%)
CIE-LABlab(34.77, 56.25, -41.46)
CIE-LCHlch(34.77, 69.88, 323.61°)
OKLaboklab(46.25% 0.1488 -0.116)
OKLCHoklch(46.25% 0.189 322.1)
XYZxyz(15.8278, 8.3832, 29.2124)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862295 #319522
analogous
#4C2295 #862295 #95226A
triadic
#862295 #958622 #229586
tetradic
#862295 #954C22 #319522 #226A95
square
#862295 #954C22 #319522 #226A95
split-complementary
#862295 #6A9522 #22954C
monochromatic
#2C0B31 #591763 #862295 #B32DC7 #C858D9

Accessibility & contrast

On white

7.85
#862295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862295
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862295#FFFFFF#000000##FFFFFF
##8622951.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#335592
Tritanopia (blue-blind)
#88395B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862295;
/* rgb */ color: rgb(134, 34, 149);
/* oklch */ color: oklch(46.2% 0.189 322.1);
Tailwind
colors: {
  custom: {
    50: '#ad69b5',
    500: '#862295',
    950: '#000000',
  },
}
SCSS
$custom: #862295;
$custom-light: #ad69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#862295",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 292.174,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46247,
    "c": 0.18864,
    "h": 322.1
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#862295
secondary
#63BD56
accent
#E64257
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862295

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

Preview Lab → · Contrast checker → · Palette generator →

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