#862297#862297

#862297 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.190 H 321.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#862297
RGBrgb(134, 34, 151)
HSLhsl(291, 63%, 36%)
HSVhsv(291, 77%, 59%)
CMYKcmyk(11.3%, 77.5%, 0%, 40.8%)
CIE-LABlab(34.90, 56.62, -42.47)
CIE-LCHlch(34.90, 70.78, 323.13°)
OKLaboklab(46.38% 0.1486 -0.119)
OKLCHoklch(46.38% 0.19 321.3)
XYZxyz(15.9888, 8.4476, 30.0605)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862297 #339722
analogous
#4C2297 #862297 #97226E
triadic
#862297 #978622 #229786
tetradic
#862297 #974C22 #339722 #226E97
square
#862297 #974C22 #339722 #226E97
split-complementary
#862297 #6E9722 #22974C
monochromatic
#2D0C33 #5A1765 #862297 #B22DC9 #C75ADA

Accessibility & contrast

On white

7.81
#862297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#862297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862297
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862297#FFFFFF#000000##FFFFFF
##8622971.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#315694
Tritanopia (blue-blind)
#873A5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862297;
/* rgb */ color: rgb(134, 34, 151);
/* oklch */ color: oklch(46.4% 0.190 321.3);
Tailwind
colors: {
  custom: {
    50: '#ad69b6',
    500: '#862297',
    950: '#000000',
  },
}
SCSS
$custom: #862297;
$custom-light: #ad69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#862297",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 291.282,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4638,
    "c": 0.19033,
    "h": 321.3
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#862297
secondary
#66BE57
accent
#E64259
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862297

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

Preview Lab → · Contrast checker → · Palette generator →

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