#8F64DC#8F64DC

#8F64DC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.4% C 0.177 H 297.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8F64DC
RGBrgb(143, 100, 220)
HSLhsl(262, 63%, 63%)
HSVhsv(262, 55%, 86%)
CMYKcmyk(35%, 54.5%, 0%, 13.7%)
CIE-LABlab(51.97, 42.84, -55.47)
CIE-LCHlch(51.97, 70.09, 307.68°)
OKLaboklab(60.39% 0.0813 -0.1571)
OKLCHoklch(60.39% 0.177 297.4)
XYZxyz(28.7999, 20.1209, 70.0627)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64DC #B1DC64
analogous
#6475DC #8F64DC #CB64DC
triadic
#8F64DC #DC8F64 #64DC8F
tetradic
#8F64DC #DC6475 #B1DC64 #64DCCB
square
#8F64DC #DC6475 #B1DC64 #64DCCB
split-complementary
#8F64DC #DCCB64 #75DC64
monochromatic
#5124A1 #6B32D1 #8F64DC #B396E7 #D7C8F3

Accessibility & contrast

On white

4.18
#8F64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8F64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64DC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64DC#FFFFFF#000000##000000
##8F64DC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#7E7C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f64dc;
/* rgb */ color: rgb(143, 100, 220);
/* oklch */ color: oklch(60.4% 0.177 297.4);
Tailwind
colors: {
  custom: {
    50: '#b491e7',
    500: '#8f64dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f64dc;
$custom-light: #b491e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64dc",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 261.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60389,
    "c": 0.17688,
    "h": 297.4
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#8F64DC
secondary
#D4E4B8
accent
#CB1B8C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8F64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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