#862FB8#862FB8

#862FB8 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.206 H 309.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#862FB8
RGBrgb(134, 47, 184)
HSLhsl(278, 59%, 45%)
HSVhsv(278, 74%, 72%)
CMYKcmyk(27.2%, 74.5%, 0%, 27.8%)
CIE-LABlab(38.83, 58.53, -55.91)
CIE-LCHlch(38.83, 80.94, 316.31°)
OKLaboklab(49.89% 0.132 -0.1585)
OKLCHoklch(49.89% 0.206 309.8)
XYZxyz(19.4980, 10.5625, 46.3497)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FB8 #61B82F
analogous
#412FB8 #862FB8 #B82FA5
triadic
#862FB8 #B8862F #2FB886
tetradic
#862FB8 #B8412F #61B82F #2FA5B8
square
#862FB8 #B8412F #61B82F #2FA5B8
split-complementary
#862FB8 #A5B82F #2FB841
monochromatic
#3F1657 #622387 #862FB8 #A452D3 #BD82DF

Accessibility & contrast

On white

6.75
#862FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#862FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FB8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FB8#FFFFFF#000000##FFFFFF
##862FB81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#095DB5
Tritanopia (blue-blind)
#7F4F71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #862fb8;
/* rgb */ color: rgb(134, 47, 184);
/* oklch */ color: oklch(49.9% 0.206 309.8);
Tailwind
colors: {
  custom: {
    50: '#ae70ce',
    500: '#862fb8',
    950: '#000000',
  },
}
SCSS
$custom: #862fb8;
$custom-light: #ae70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#862fb8",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 278.102,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.20623,
    "h": 309.8
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#862FB8
secondary
#97C87B
accent
#E2457F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #862FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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