#8F64DF#8F64DF

#8F64DF is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.181 H 296.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F64DF
RGBrgb(143, 100, 223)
HSLhsl(261, 66%, 63%)
HSVhsv(261, 55%, 87%)
CMYKcmyk(35.9%, 55.2%, 0%, 12.5%)
CIE-LABlab(52.15, 43.62, -56.88)
CIE-LCHlch(52.15, 71.68, 307.48°)
OKLaboklab(60.58% 0.0814 -0.1612)
OKLCHoklch(60.58% 0.181 296.8)
XYZxyz(29.2008, 20.2812, 72.1739)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64DF #B4DF64
analogous
#6476DF #8F64DF #CD64DF
triadic
#8F64DF #DF8F64 #64DF8F
tetradic
#8F64DF #DF6476 #B4DF64 #64DFCD
square
#8F64DF #DF6476 #B4DF64 #64DFCD
split-complementary
#8F64DF #DFCD64 #76DF64
monochromatic
#5022A6 #6A31D5 #8F64DF #B497E9 #D8C9F4

Accessibility & contrast

On white

4.15
#8F64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8F64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64DF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64DF#FFFFFF#000000##000000
##8F64DF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7DE3
Deuteranopia (green-blind)
#3A7BDC
Tritanopia (blue-blind)
#7C7D98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f64df;
/* rgb */ color: rgb(143, 100, 223);
/* oklch */ color: oklch(60.6% 0.181 296.8);
Tailwind
colors: {
  custom: {
    50: '#b491ea',
    500: '#8f64df',
    950: '#000000',
  },
}
SCSS
$custom: #8f64df;
$custom-light: #b491ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64df",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 260.976,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6058,
    "c": 0.1806,
    "h": 296.8
  },
  "luminance": 0.20282
}

Semantic roles & 50–950 ramp

primary
#8F64DF
secondary
#D6E5B9
accent
#CE188E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8F64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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