#8F64DA#8F64DA

#8F64DA is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.3% C 0.174 H 297.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8F64DA
RGBrgb(143, 100, 218)
HSLhsl(262, 61%, 62%)
HSVhsv(262, 54%, 85%)
CMYKcmyk(34.4%, 54.1%, 0%, 14.5%)
CIE-LABlab(51.85, 42.33, -54.53)
CIE-LCHlch(51.85, 69.03, 307.82°)
OKLaboklab(60.26% 0.0812 -0.1543)
OKLCHoklch(60.26% 0.174 297.8)
XYZxyz(28.5366, 20.0156, 68.6760)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64DA #AFDA64
analogous
#6474DA #8F64DA #CA64DA
triadic
#8F64DA #DA8F64 #64DA8F
tetradic
#8F64DA #DA6474 #AFDA64 #64DACA
square
#8F64DA #DA6474 #AFDA64 #64DACA
split-complementary
#8F64DA #DACA64 #74DA64
monochromatic
#51269E #6B33CE #8F64DA #B395E6 #D6C7F2

Accessibility & contrast

On white

4.20
#8F64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8F64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64DA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64DA#FFFFFF#000000##000000
##8F64DA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#407AD7
Tritanopia (blue-blind)
#7E7C95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f64da;
/* rgb */ color: rgb(143, 100, 218);
/* oklch */ color: oklch(60.3% 0.174 297.8);
Tailwind
colors: {
  custom: {
    50: '#b491e6',
    500: '#8f64da',
    950: '#000000',
  },
}
SCSS
$custom: #8f64da;
$custom-light: #b491e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64da",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 261.864,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60263,
    "c": 0.1744,
    "h": 297.8
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#8F64DA
secondary
#D3E2B7
accent
#C91C8A
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8F64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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