#8642D7#8642D7

#8642D7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.216 H 300.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8642D7
RGBrgb(134, 66, 215)
HSLhsl(267, 65%, 55%)
HSVhsv(267, 69%, 84%)
CMYKcmyk(37.7%, 69.3%, 0%, 15.7%)
CIE-LABlab(44.05, 57.39, -65.46)
CIE-LCHlch(44.05, 87.06, 311.24°)
OKLaboklab(54.3% 0.1082 -0.1867)
OKLCHoklch(54.3% 0.216 300.1)
XYZxyz(24.0424, 13.8708, 65.6875)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642D7 #93D742
analogous
#4248D7 #8642D7 #D142D7
triadic
#8642D7 #D78642 #42D786
tetradic
#8642D7 #D74248 #93D742 #42D7D1
square
#8642D7 #D74248 #93D742 #42D7D1
split-complementary
#8642D7 #D7D142 #48D742
monochromatic
#4B1C83 #6826B5 #8642D7 #A675E2 #C7A7EC

Accessibility & contrast

On white

5.56
#8642D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8642D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642D7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642D7#FFFFFF#000000##FFFFFF
##8642D71.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#746688
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8642d7;
/* rgb */ color: rgb(134, 66, 215);
/* oklch */ color: oklch(54.3% 0.216 300.1);
Tailwind
colors: {
  custom: {
    50: '#af7be4',
    500: '#8642d7',
    950: '#000000',
  },
}
SCSS
$custom: #8642d7;
$custom-light: #af7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8642d7",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 267.383,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.21577,
    "h": 300.1
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#8642D7
secondary
#BDDA9B
accent
#E8409B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8642D7

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

Preview Lab → · Contrast checker → · Palette generator →

#8642D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva