#861FC2#861FC2

#861FC2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.4% C 0.230 H 308.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#861FC2
RGBrgb(134, 31, 194)
HSLhsl(278, 72%, 44%)
HSVhsv(278, 84%, 76%)
CMYKcmyk(30.9%, 84%, 0%, 23.9%)
CIE-LABlab(37.74, 66.03, -63.56)
CIE-LCHlch(37.74, 91.66, 316.09°)
OKLaboklab(49.36% 0.1421 -0.1809)
OKLCHoklch(49.36% 0.23 308.2)
XYZxyz(20.0570, 9.9437, 51.8912)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861FC2 #5BC21F
analogous
#351FC2 #861FC2 #C21FAD
triadic
#861FC2 #C2861F #1FC286
tetradic
#861FC2 #C2351F #5BC21F #1FADC2
square
#861FC2 #C2351F #5BC21F #1FADC2
split-complementary
#861FC2 #ADC21F #1FC235
monochromatic
#3D0E58 #62178D #861FC2 #A43EE0 #BD73E9

Accessibility & contrast

On white

7.03
#861FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#861FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861FC2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861FC2#FFFFFF#000000##FFFFFF
##861FC21.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#7C4D74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #861fc2;
/* rgb */ color: rgb(134, 31, 194);
/* oklch */ color: oklch(49.4% 0.230 308.2);
Tailwind
colors: {
  custom: {
    50: '#af6ad5',
    500: '#861fc2',
    950: '#000000',
  },
}
SCSS
$custom: #861fc2;
$custom-light: #af6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#861fc2",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 277.914,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49364,
    "c": 0.23001,
    "h": 308.2
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#861FC2
secondary
#91CF6D
accent
#EF397C
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #861FC2

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

Preview Lab → · Contrast checker → · Palette generator →

#861FC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva