#8640D8#8640D8

#8640D8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.219 H 300.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8640D8
RGBrgb(134, 64, 216)
HSLhsl(268, 66%, 55%)
HSVhsv(268, 70%, 85%)
CMYKcmyk(38%, 70.4%, 0%, 15.3%)
CIE-LABlab(43.79, 58.57, -66.46)
CIE-LCHlch(43.79, 88.58, 311.39°)
OKLaboklab(54.14% 0.11 -0.1896)
OKLCHoklch(54.14% 0.219 300.1)
XYZxyz(24.0565, 13.6928, 66.3280)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640D8 #92D840
analogous
#4046D8 #8640D8 #D240D8
triadic
#8640D8 #D88640 #40D886
tetradic
#8640D8 #D84046 #92D840 #40D8D2
square
#8640D8 #D84046 #92D840 #40D8D2
split-complementary
#8640D8 #D8D240 #46D840
monochromatic
#4B1B83 #6825B6 #8640D8 #A673E2 #C6A6ED

Accessibility & contrast

On white

5.62
#8640D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8640D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640D8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640D8#FFFFFF#000000##FFFFFF
##8640D81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#736588
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8640d8;
/* rgb */ color: rgb(134, 64, 216);
/* oklch */ color: oklch(54.1% 0.219 300.1);
Tailwind
colors: {
  custom: {
    50: '#b07ae5',
    500: '#8640d8',
    950: '#000000',
  },
}
SCSS
$custom: #8640d8;
$custom-light: #b07ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#8640d8",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 267.632,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.21918,
    "h": 300.1
  },
  "luminance": 0.13693
}

Semantic roles & 50–950 ramp

primary
#8640D8
secondary
#BCDA9A
accent
#E93F9B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8640D8

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

Preview Lab → · Contrast checker → · Palette generator →

#8640D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva