#8640DF#8640DF

#8640DF is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.227 H 298.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8640DF
RGBrgb(134, 64, 223)
HSLhsl(266, 71%, 56%)
HSVhsv(266, 71%, 87%)
CMYKcmyk(39.9%, 71.3%, 0%, 12.5%)
CIE-LABlab(44.32, 60.27, -69.59)
CIE-LCHlch(44.32, 92.06, 310.89°)
OKLaboklab(54.69% 0.1087 -0.1988)
OKLCHoklch(54.69% 0.227 298.7)
XYZxyz(24.9808, 14.0625, 71.1959)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640DF #99DF40
analogous
#404ADF #8640DF #D540DF
triadic
#8640DF #DF8640 #40DF86
tetradic
#8640DF #DF404A #99DF40 #40DFD5
square
#8640DF #DF404A #99DF40 #40DFD5
split-complementary
#8640DF #DFD540 #4ADF40
monochromatic
#4B188D #6720C1 #8640DF #A774E8 #C8A9F1

Accessibility & contrast

On white

5.51
#8640DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8640DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640DF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640DF#FFFFFF#000000##FFFFFF
##8640DF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#70688C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8640df;
/* rgb */ color: rgb(134, 64, 223);
/* oklch */ color: oklch(54.7% 0.227 298.7);
Tailwind
colors: {
  custom: {
    50: '#b07bea',
    500: '#8640df',
    950: '#000000',
  },
}
SCSS
$custom: #8640df;
$custom-light: #b07bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8640df",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 266.415,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54689,
    "c": 0.22657,
    "h": 298.7
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#8640DF
secondary
#C1DE9D
accent
#EE3A9F
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8640DF

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

Preview Lab → · Contrast checker → · Palette generator →

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