#862DBF#862DBF

#862DBF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.215 H 308.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#862DBF
RGBrgb(134, 45, 191)
HSLhsl(277, 62%, 46%)
HSVhsv(277, 76%, 75%)
CMYKcmyk(29.8%, 76.4%, 0%, 25.1%)
CIE-LABlab(39.08, 60.82, -59.62)
CIE-LCHlch(39.08, 85.17, 315.57°)
OKLaboklab(50.23% 0.1324 -0.1694)
OKLCHoklch(50.23% 0.215 308)
XYZxyz(20.1719, 10.7070, 50.2841)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DBF #66BF2D
analogous
#3D2DBF #862DBF #BF2DAF
triadic
#862DBF #BF862D #2DBF86
tetradic
#862DBF #BF3D2D #66BF2D #2DAFBF
square
#862DBF #BF3D2D #66BF2D #2DAFBF
split-complementary
#862DBF #AFBF2D #2DBF3D
monochromatic
#41165C #63218D #862DBF #A353D6 #BD84E2

Accessibility & contrast

On white

6.68
#862DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #862DBF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DBF#FFFFFF#000000##FFFFFF
##862DBF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#7D5175
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #862dbf;
/* rgb */ color: rgb(134, 45, 191);
/* oklch */ color: oklch(50.2% 0.215 308.0);
Tailwind
colors: {
  custom: {
    50: '#af70d3',
    500: '#862dbf',
    950: '#000000',
  },
}
SCSS
$custom: #862dbf;
$custom-light: #af70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#862dbf",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 276.575,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50227,
    "c": 0.21499,
    "h": 308
  },
  "luminance": 0.10707
}

Semantic roles & 50–950 ramp

primary
#862DBF
secondary
#9BCB7C
accent
#E54382
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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