#862F90#862F90

#862F90 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.169 H 323.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#862F90
RGBrgb(134, 47, 144)
HSLhsl(294, 51%, 37%)
HSVhsv(294, 67%, 56%)
CMYKcmyk(6.9%, 67.4%, 0%, 43.5%)
CIE-LABlab(36.21, 50.37, -36.11)
CIE-LCHlch(36.21, 61.97, 324.36°)
OKLaboklab(47.18% 0.1355 -0.1005)
OKLCHoklch(47.18% 0.169 323.4)
XYZxyz(15.8816, 9.1159, 27.3032)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F90 #39902F
analogous
#552F90 #862F90 #902F6A
triadic
#862F90 #90862F #2F9086
tetradic
#862F90 #90552F #39902F #2F6A90
square
#862F90 #90552F #39902F #2F6A90
split-complementary
#862F90 #6A902F #2F9055
monochromatic
#301134 #5B2062 #862F90 #B13EBE #C46BCF

Accessibility & contrast

On white

7.44
#862F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#862F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F90
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F90#FFFFFF#000000##FFFFFF
##862F901.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184F93
Deuteranopia (green-blind)
#3E598E
Tritanopia (blue-blind)
#883E5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862f90;
/* rgb */ color: rgb(134, 47, 144);
/* oklch */ color: oklch(47.2% 0.169 323.4);
Tailwind
colors: {
  custom: {
    50: '#ac6fb1',
    500: '#862f90',
    950: '#000000',
  },
}
SCSS
$custom: #862f90;
$custom-light: #ac6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#862f90",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 293.814,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.16869,
    "h": 323.4
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#862F90
secondary
#6DB665
accent
#DA4E5C
background
#FAF6FA
surface
#F5ECF5
border
#CFC7CF
text
#100811
muted
#7F7B80

Preview Lab

Preview with #862F90

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

Preview Lab → · Contrast checker → · Palette generator →

#862F90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva