#862BC9#862BC9

#862BC9 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.226 H 305.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#862BC9
RGBrgb(134, 43, 201)
HSLhsl(275, 65%, 48%)
HSVhsv(275, 79%, 79%)
CMYKcmyk(33.3%, 78.6%, 0%, 21.2%)
CIE-LABlab(39.60, 63.73, -64.62)
CIE-LCHlch(39.60, 90.76, 314.60°)
OKLaboklab(50.83% 0.1317 -0.184)
OKLCHoklch(50.83% 0.226 305.6)
XYZxyz(21.2356, 11.0133, 56.2541)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BC9 #6EC92B
analogous
#372BC9 #862BC9 #C92BBD
triadic
#862BC9 #C9862B #2BC986
tetradic
#862BC9 #C9372B #6EC92B #2BBDC9
square
#862BC9 #C9372B #6EC92B #2BBDC9
split-complementary
#862BC9 #BDC92B #2BC937
monochromatic
#431564 #642097 #862BC9 #A356DB #BE89E6

Accessibility & contrast

On white

6.56
#862BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#862BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BC9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BC9#FFFFFF#000000##FFFFFF
##862BC91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#7A557A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #862bc9;
/* rgb */ color: rgb(134, 43, 201);
/* oklch */ color: oklch(50.8% 0.226 305.6);
Tailwind
colors: {
  custom: {
    50: '#af6fda',
    500: '#862bc9',
    950: '#000000',
  },
}
SCSS
$custom: #862bc9;
$custom-light: #af6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#862bc9",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 201
  },
  "hsl": {
    "h": 274.557,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.22633,
    "h": 305.6
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#862BC9
secondary
#A2CF80
accent
#E84087
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #862BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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