#862FB3#862FB3

#862FB3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.201 H 311.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#862FB3
RGBrgb(134, 47, 179)
HSLhsl(280, 58%, 44%)
HSVhsv(280, 74%, 70%)
CMYKcmyk(25.1%, 73.7%, 0%, 29.8%)
CIE-LABlab(38.47, 57.46, -53.53)
CIE-LCHlch(38.47, 78.54, 317.03°)
OKLaboklab(49.52% 0.1328 -0.1515)
OKLCHoklch(49.52% 0.201 311.2)
XYZxyz(18.9832, 10.3565, 43.6381)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FB3 #5CB32F
analogous
#442FB3 #862FB3 #B32F9E
triadic
#862FB3 #B3862F #2FB386
tetradic
#862FB3 #B3442F #5CB32F #2F9EB3
square
#862FB3 #B3442F #5CB32F #2F9EB3
split-complementary
#862FB3 #9EB32F #2FB344
monochromatic
#3D1652 #622283 #862FB3 #A44FD1 #BD7FDD

Accessibility & contrast

On white

6.84
#862FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#862FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FB3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FB3#FFFFFF#000000##FFFFFF
##862FB31.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#804D6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #862fb3;
/* rgb */ color: rgb(134, 47, 179);
/* oklch */ color: oklch(49.5% 0.201 311.2);
Tailwind
colors: {
  custom: {
    50: '#ae70ca',
    500: '#862fb3',
    950: '#000000',
  },
}
SCSS
$custom: #862fb3;
$custom-light: #ae70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#862fb3",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 279.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49522,
    "c": 0.20145,
    "h": 311.2
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#862FB3
secondary
#92C678
accent
#E2467B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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