#8640DD#8640DD

#8640DD is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.224 H 299.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8640DD
RGBrgb(134, 64, 221)
HSLhsl(267, 70%, 56%)
HSVhsv(267, 71%, 87%)
CMYKcmyk(39.4%, 71%, 0%, 13.3%)
CIE-LABlab(44.17, 59.78, -68.70)
CIE-LCHlch(44.17, 91.07, 311.03°)
OKLaboklab(54.53% 0.1091 -0.1962)
OKLCHoklch(54.53% 0.224 299.1)
XYZxyz(24.7128, 13.9553, 69.7842)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8640DD #97DD40
analogous
#4048DD #8640DD #D540DD
triadic
#8640DD #DD8640 #40DD86
tetradic
#8640DD #DD4048 #97DD40 #40DDD5
square
#8640DD #DD4048 #97DD40 #40DDD5
split-complementary
#8640DD #DDD540 #48DD40
monochromatic
#4B198A #6722BE #8640DD #A774E6 #C8A8EF

Accessibility & contrast

On white

5.54
#8640DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8640DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8640DD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8640DD#FFFFFF#000000##FFFFFF
##8640DD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#71678B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8640dd;
/* rgb */ color: rgb(134, 64, 221);
/* oklch */ color: oklch(54.5% 0.224 299.1);
Tailwind
colors: {
  custom: {
    50: '#b07be9',
    500: '#8640dd',
    950: '#000000',
  },
}
SCSS
$custom: #8640dd;
$custom-light: #b07be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8640dd",
  "rgb": {
    "r": 134,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 266.752,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.22446,
    "h": 299.1
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#8640DD
secondary
#C0DD9C
accent
#ED3B9E
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8640DD

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

Preview Lab → · Contrast checker → · Palette generator →

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