#862BB3#862BB3

#862BB3 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.1% C 0.206 H 311.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#862BB3
RGBrgb(134, 43, 179)
HSLhsl(280, 61%, 44%)
HSVhsv(280, 76%, 70%)
CMYKcmyk(25.1%, 76%, 0%, 29.8%)
CIE-LABlab(37.93, 59.01, -54.41)
CIE-LCHlch(37.93, 80.26, 317.32°)
OKLaboklab(49.14% 0.1365 -0.154)
OKLCHoklch(49.14% 0.206 311.5)
XYZxyz(18.8305, 10.0513, 43.5872)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BB3 #58B32B
analogous
#422BB3 #862BB3 #B32B9C
triadic
#862BB3 #B3862B #2BB386
tetradic
#862BB3 #B3422B #58B32B #2B9CB3
square
#862BB3 #B3422B #58B32B #2B9CB3
split-complementary
#862BB3 #9CB32B #2BB342
monochromatic
#3C1350 #611F82 #862BB3 #A548D3 #BD79DF

Accessibility & contrast

On white

6.98
#862BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#862BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862BB3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BB3#FFFFFF#000000##FFFFFF
##862BB31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#115BB0
Tritanopia (blue-blind)
#804B6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862bb3;
/* rgb */ color: rgb(134, 43, 179);
/* oklch */ color: oklch(49.1% 0.206 311.5);
Tailwind
colors: {
  custom: {
    50: '#ae6ecb',
    500: '#862bb3',
    950: '#000000',
  },
}
SCSS
$custom: #862bb3;
$custom-light: #ae6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#862bb3",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 280.147,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.20583,
    "h": 311.5
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#862BB3
secondary
#8FC773
accent
#E44379
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #862BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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