#862F94#862F94

#862F94 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.172 H 321.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#862F94
RGBrgb(134, 47, 148)
HSLhsl(292, 52%, 38%)
HSVhsv(292, 68%, 58%)
CMYKcmyk(9.5%, 68.2%, 0%, 42%)
CIE-LABlab(36.44, 51.13, -38.17)
CIE-LCHlch(36.44, 63.81, 323.26°)
OKLaboklab(47.42% 0.1355 -0.1065)
OKLCHoklch(47.42% 0.172 321.8)
XYZxyz(16.1928, 9.2403, 28.9419)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F94 #3D942F
analogous
#532F94 #862F94 #942F6F
triadic
#862F94 #94862F #2F9486
tetradic
#862F94 #94532F #3D942F #2F6F94
square
#862F94 #94532F #3D942F #2F6F94
split-complementary
#862F94 #6F942F #2F9453
monochromatic
#321137 #5C2066 #862F94 #B03EC2 #C36DD1

Accessibility & contrast

On white

7.37
#862F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#862F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F94
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F94#FFFFFF#000000##FFFFFF
##862F941.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114F97
Deuteranopia (green-blind)
#3C5992
Tritanopia (blue-blind)
#87405E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #862f94;
/* rgb */ color: rgb(134, 47, 148);
/* oklch */ color: oklch(47.4% 0.172 321.8);
Tailwind
colors: {
  custom: {
    50: '#ac6fb4',
    500: '#862f94',
    950: '#000000',
  },
}
SCSS
$custom: #862f94;
$custom-light: #ac6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#862f94",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 291.683,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47423,
    "c": 0.17234,
    "h": 321.8
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#862F94
secondary
#72B867
accent
#DB4D60
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862F94

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

Preview Lab → · Contrast checker → · Palette generator →

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