#862FBB#862FBB

#862FBB is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.209 H 308.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#862FBB
RGBrgb(134, 47, 187)
HSLhsl(277, 60%, 46%)
HSVhsv(277, 75%, 73%)
CMYKcmyk(28.3%, 74.9%, 0%, 26.7%)
CIE-LABlab(39.05, 59.18, -57.32)
CIE-LCHlch(39.05, 82.39, 315.92°)
OKLaboklab(50.11% 0.1314 -0.1626)
OKLCHoklch(50.11% 0.209 308.9)
XYZxyz(19.8158, 10.6896, 48.0235)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862FBB #64BB2F
analogous
#402FBB #862FBB #BB2FAA
triadic
#862FBB #BB862F #2FBB86
tetradic
#862FBB #BB402F #64BB2F #2FAABB
square
#862FBB #BB402F #64BB2F #2FAABB
split-complementary
#862FBB #AABB2F #2FBB40
monochromatic
#401659 #63238A #862FBB #A353D4 #BD84E0

Accessibility & contrast

On white

6.69
#862FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#862FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862FBB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862FBB#FFFFFF#000000##FFFFFF
##862FBB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#7E5073
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #862fbb;
/* rgb */ color: rgb(134, 47, 187);
/* oklch */ color: oklch(50.1% 0.209 308.9);
Tailwind
colors: {
  custom: {
    50: '#ae70d0',
    500: '#862fbb',
    950: '#000000',
  },
}
SCSS
$custom: #862fbb;
$custom-light: #ae70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#862fbb",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 277.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50112,
    "c": 0.20909,
    "h": 308.9
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#862FBB
secondary
#9AC97C
accent
#E34581
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #862FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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