#862BB8#862BB8

#862BB8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.210 H 310.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#862BB8
RGBrgb(134, 43, 184)
HSLhsl(279, 62%, 45%)
HSVhsv(279, 77%, 72%)
CMYKcmyk(27.2%, 76.6%, 0%, 27.8%)
CIE-LABlab(38.30, 60.06, -56.77)
CIE-LCHlch(38.30, 82.65, 316.61°)
OKLaboklab(49.51% 0.1356 -0.161)
OKLCHoklch(49.51% 0.21 310.1)
XYZxyz(19.3454, 10.2572, 46.2988)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BB8 #5DB82B
analogous
#3F2BB8 #862BB8 #B82BA4
triadic
#862BB8 #B8862B #2BB886
tetradic
#862BB8 #B83F2B #5DB82B #2BA4B8
square
#862BB8 #B83F2B #5DB82B #2BA4B8
split-complementary
#862BB8 #A4B82B #2BB83F
monochromatic
#3E1455 #621F86 #862BB8 #A44BD5 #BD7DE1

Accessibility & contrast

On white

6.88
#862BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#862BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BB8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BB8#FFFFFF#000000##FFFFFF
##862BB81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#7F4D70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #862bb8;
/* rgb */ color: rgb(134, 43, 184);
/* oklch */ color: oklch(49.5% 0.210 310.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ece',
    500: '#862bb8',
    950: '#000000',
  },
}
SCSS
$custom: #862bb8;
$custom-light: #ae6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#862bb8",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 278.723,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49513,
    "c": 0.21047,
    "h": 310.1
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#862BB8
secondary
#93C976
accent
#E5437C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #862BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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