#8F64DD#8F64DD

#8F64DD is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.5% C 0.178 H 297.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8F64DD
RGBrgb(143, 100, 221)
HSLhsl(261, 64%, 63%)
HSVhsv(261, 55%, 87%)
CMYKcmyk(35.3%, 54.8%, 0%, 13.3%)
CIE-LABlab(52.03, 43.10, -55.94)
CIE-LCHlch(52.03, 70.62, 307.61°)
OKLaboklab(60.45% 0.0813 -0.1585)
OKLCHoklch(60.45% 0.178 297.2)
XYZxyz(28.9327, 20.1740, 70.7622)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64DD #B2DD64
analogous
#6476DD #8F64DD #CB64DD
triadic
#8F64DD #DD8F64 #64DD8F
tetradic
#8F64DD #DD6476 #B2DD64 #64DDCB
square
#8F64DD #DD6476 #B2DD64 #64DDCB
split-complementary
#8F64DD #DDCB64 #76DD64
monochromatic
#5124A3 #6B32D2 #8F64DD #B396E8 #D8C8F3

Accessibility & contrast

On white

4.17
#8F64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8F64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64DD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64DD#FFFFFF#000000##000000
##8F64DD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE1
Deuteranopia (green-blind)
#3C7BDA
Tritanopia (blue-blind)
#7D7D97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f64dd;
/* rgb */ color: rgb(143, 100, 221);
/* oklch */ color: oklch(60.5% 0.178 297.2);
Tailwind
colors: {
  custom: {
    50: '#b491e8',
    500: '#8f64dd',
    950: '#000000',
  },
}
SCSS
$custom: #8f64dd;
$custom-light: #b491e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64dd",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 261.322,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.17812,
    "h": 297.2
  },
  "luminance": 0.20174
}

Semantic roles & 50–950 ramp

primary
#8F64DD
secondary
#D5E4B9
accent
#CC1A8D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8F64DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8F64DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva