#862EBD#862EBD

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

Color values

HEX#862EBD
RGBrgb(134, 46, 189)
HSLhsl(277, 61%, 46%)
HSVhsv(277, 76%, 74%)
CMYKcmyk(29.1%, 75.7%, 0%, 25.9%)
CIE-LABlab(39.06, 60.01, -58.48)
CIE-LCHlch(39.06, 83.79, 315.74°)
OKLaboklab(50.17% 0.1319 -0.166)
OKLCHoklch(50.17% 0.212 308.5)
XYZxyz(19.9919, 10.6968, 49.1458)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EBD #65BD2E
analogous
#3E2EBD #862EBD #BD2EAC
triadic
#862EBD #BD862E #2EBD86
tetradic
#862EBD #BD3E2E #65BD2E #2EACBD
square
#862EBD #BD3E2E #65BD2E #2EACBD
split-complementary
#862EBD #ACBD2E #2EBD3E
monochromatic
#40165B #63228C #862EBD #A353D5 #BD84E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862EBD#FFFFFF#000000##FFFFFF
##862EBD1.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)
#0059C1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#7D5174
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #862ebd;
/* rgb */ color: rgb(134, 46, 189);
/* oklch */ color: oklch(50.2% 0.212 308.5);
Tailwind
colors: {
  custom: {
    50: '#ae70d2',
    500: '#862ebd',
    950: '#000000',
  },
}
SCSS
$custom: #862ebd;
$custom-light: #ae70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#862ebd",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 276.923,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.21206,
    "h": 308.5
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#862EBD
secondary
#9ACA7C
accent
#E44481
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #862EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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