#862FB2#862FB2

#862FB2 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.201 H 311.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#862FB2
RGBrgb(134, 47, 178)
HSLhsl(280, 58%, 44%)
HSVhsv(280, 74%, 70%)
CMYKcmyk(24.7%, 73.6%, 0%, 30.2%)
CIE-LABlab(38.40, 57.25, -53.06)
CIE-LCHlch(38.40, 78.05, 317.18°)
OKLaboklab(49.45% 0.1329 -0.1501)
OKLCHoklch(49.45% 0.201 311.5)
XYZxyz(18.8824, 10.3162, 43.1074)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FB2 #5BB22F
analogous
#442FB2 #862FB2 #B22F9D
triadic
#862FB2 #B2862F #2FB286
tetradic
#862FB2 #B2442F #5BB22F #2F9DB2
square
#862FB2 #B2442F #5BB22F #2F9DB2
split-complementary
#862FB2 #9DB22F #2FB244
monochromatic
#3D1551 #622282 #862FB2 #A44ED0 #BD7EDD

Accessibility & contrast

On white

6.86
#862FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#862FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FB2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FB2#FFFFFF#000000##FFFFFF
##862FB21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#1A5CAF
Tritanopia (blue-blind)
#804D6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862fb2;
/* rgb */ color: rgb(134, 47, 178);
/* oklch */ color: oklch(49.4% 0.201 311.5);
Tailwind
colors: {
  custom: {
    50: '#ae70ca',
    500: '#862fb2',
    950: '#000000',
  },
}
SCSS
$custom: #862fb2;
$custom-light: #ae70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#862fb2",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 279.847,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.20051,
    "h": 311.5
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#862FB2
secondary
#91C677
accent
#E1467A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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