#862278#862278

#862278 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.165 H 334.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#862278
RGBrgb(134, 34, 120)
HSLhsl(308, 60%, 33%)
HSVhsv(308, 75%, 53%)
CMYKcmyk(0%, 74.6%, 10.4%, 47.5%)
CIE-LABlab(33.07, 51.25, -26.17)
CIE-LCHlch(33.07, 57.54, 332.95°)
OKLaboklab(44.49% 0.1489 -0.0716)
OKLCHoklch(44.49% 0.165 334.3)
XYZxyz(13.7938, 7.5696, 18.5003)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862278 #228630
analogous
#622286 #862278 #862246
triadic
#862278 #788622 #227886
tetradic
#862278 #866222 #228630 #224686
square
#862278 #866222 #228630 #224686
split-complementary
#862278 #468622 #228662
monochromatic
#240921 #55164C #862278 #B72EA4 #D350C0

Accessibility & contrast

On white

8.35
#862278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#862278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862278
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862278#FFFFFF#000000##FFFFFF
##8622781.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#445376
Tritanopia (blue-blind)
#8D2B4A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862278;
/* rgb */ color: rgb(134, 34, 120);
/* oklch */ color: oklch(44.5% 0.165 334.3);
Tailwind
colors: {
  custom: {
    50: '#ad689f',
    500: '#862278',
    950: '#000000',
  },
}
SCSS
$custom: #862278;
$custom-light: #ad689f;
$custom-dark: #000000;
JSON
{
  "hex": "#862278",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 308.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.16525,
    "h": 334.3
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#862278
secondary
#4EB65C
accent
#E35B45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862278

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

Preview Lab → · Contrast checker → · Palette generator →

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