#8642D5#8642D5

#8642D5 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.2% C 0.214 H 300.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8642D5
RGBrgb(134, 66, 213)
HSLhsl(268, 64%, 55%)
HSVhsv(268, 69%, 84%)
CMYKcmyk(37.1%, 69%, 0%, 16.5%)
CIE-LABlab(43.90, 56.90, -64.56)
CIE-LCHlch(43.90, 86.06, 311.39°)
OKLaboklab(54.15% 0.1085 -0.184)
OKLCHoklch(54.15% 0.214 300.5)
XYZxyz(23.7870, 13.7687, 64.3423)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642D5 #91D542
analogous
#4248D5 #8642D5 #CF42D5
triadic
#8642D5 #D58642 #42D586
tetradic
#8642D5 #D54248 #91D542 #42D5CF
square
#8642D5 #D54248 #91D542 #42D5CF
split-complementary
#8642D5 #D5CF42 #48D542
monochromatic
#4B1C80 #6828B2 #8642D5 #A674E0 #C6A6EB

Accessibility & contrast

On white

5.59
#8642D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8642D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642D5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642D5#FFFFFF#000000##FFFFFF
##8642D51.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#746587
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8642d5;
/* rgb */ color: rgb(134, 66, 213);
/* oklch */ color: oklch(54.2% 0.214 300.5);
Tailwind
colors: {
  custom: {
    50: '#af7be3',
    500: '#8642d5',
    950: '#000000',
  },
}
SCSS
$custom: #8642d5;
$custom-light: #af7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#8642d5",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 267.755,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.21363,
    "h": 300.5
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#8642D5
secondary
#BCD89A
accent
#E7419A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8642D5

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

Preview Lab → · Contrast checker → · Palette generator →

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