#862298#862298

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

Color values

HEX#862298
RGBrgb(134, 34, 152)
HSLhsl(291, 63%, 36%)
HSVhsv(291, 78%, 60%)
CMYKcmyk(11.8%, 77.6%, 0%, 40.4%)
CIE-LABlab(34.96, 56.81, -42.98)
CIE-LCHlch(34.96, 71.24, 322.89°)
OKLaboklab(46.45% 0.1485 -0.1204)
OKLCHoklch(46.45% 0.191 321)
XYZxyz(16.0704, 8.4803, 30.4901)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862298 #349822
analogous
#4B2298 #862298 #98226F
triadic
#862298 #988622 #229886
tetradic
#862298 #984B22 #349822 #226F98
square
#862298 #984B22 #349822 #226F98
split-complementary
#862298 #6F9822 #22984B
monochromatic
#2E0C34 #5A1766 #862298 #B22DCA #C75ADA

Accessibility & contrast

On white

7.79
#862298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862298
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862298#FFFFFF#000000##FFFFFF
##8622981.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862298;
/* rgb */ color: rgb(134, 34, 152);
/* oklch */ color: oklch(46.4% 0.191 321.0);
Tailwind
colors: {
  custom: {
    50: '#ad69b7',
    500: '#862298',
    950: '#000000',
  },
}
SCSS
$custom: #862298;
$custom-light: #ad69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#862298",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 290.847,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.19118,
    "h": 321
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#862298
secondary
#67BE57
accent
#E6415B
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862298

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

Preview Lab → · Contrast checker → · Palette generator →

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