#8642D1#8642D1

#8642D1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.209 H 301.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8642D1
RGBrgb(134, 66, 209)
HSLhsl(269, 61%, 54%)
HSVhsv(269, 68%, 82%)
CMYKcmyk(35.9%, 68.4%, 0%, 18%)
CIE-LABlab(43.61, 55.94, -62.73)
CIE-LCHlch(43.61, 84.05, 311.72°)
OKLaboklab(53.85% 0.1091 -0.1786)
OKLCHoklch(53.85% 0.209 301.4)
XYZxyz(23.2856, 13.5681, 61.7014)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8642D1 #8DD142
analogous
#4246D1 #8642D1 #CD42D1
triadic
#8642D1 #D18642 #42D186
tetradic
#8642D1 #D14246 #8DD142 #42D1CD
square
#8642D1 #D14246 #8DD142 #42D1CD
split-complementary
#8642D1 #D1CD42 #46D142
monochromatic
#4A1E7B #682AAC #8642D1 #A673DD #C5A4E9

Accessibility & contrast

On white

5.65
#8642D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8642D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8642D1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8642D1#FFFFFF#000000##FFFFFF
##8642D11.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#766484
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8642d1;
/* rgb */ color: rgb(134, 66, 209);
/* oklch */ color: oklch(53.9% 0.209 301.4);
Tailwind
colors: {
  custom: {
    50: '#af7be0',
    500: '#8642d1',
    950: '#000000',
  },
}
SCSS
$custom: #8642d1;
$custom-light: #af7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#8642d1",
  "rgb": {
    "r": 134,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 268.531,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53852,
    "c": 0.20934,
    "h": 301.4
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#8642D1
secondary
#B9D699
accent
#E44498
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8642D1

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

Preview Lab → · Contrast checker → · Palette generator →

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