#8F64E5#8F64E5

#8F64E5 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.0% C 0.188 H 295.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8F64E5
RGBrgb(143, 100, 229)
HSLhsl(260, 71%, 65%)
HSVhsv(260, 56%, 90%)
CMYKcmyk(37.6%, 56.3%, 0%, 10.2%)
CIE-LABlab(52.52, 45.18, -59.67)
CIE-LCHlch(52.52, 74.84, 307.13°)
OKLaboklab(60.97% 0.0815 -0.1694)
OKLCHoklch(60.97% 0.188 295.7)
XYZxyz(30.0241, 20.6106, 76.5099)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64E5 #BAE564
analogous
#647AE5 #8F64E5 #D064E5
triadic
#8F64E5 #E58F64 #64E58F
tetradic
#8F64E5 #E5647A #BAE564 #64E5D0
square
#8F64E5 #E5647A #BAE564 #64E5D0
split-complementary
#8F64E5 #E5D064 #7AE564
monochromatic
#4F1EB1 #6930DC #8F64E5 #B598EE #DBCDF7

Accessibility & contrast

On white

4.10
#8F64E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8F64E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64E5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64E5#FFFFFF#000000##000000
##8F64E51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE9
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#7A7F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f64e5;
/* rgb */ color: rgb(143, 100, 229);
/* oklch */ color: oklch(61.0% 0.188 295.7);
Tailwind
colors: {
  custom: {
    50: '#b491ee',
    500: '#8f64e5',
    950: '#000000',
  },
}
SCSS
$custom: #8f64e5;
$custom-light: #b491ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64e5",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 260,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60968,
    "c": 0.18799,
    "h": 295.7
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#8F64E5
secondary
#DAE9BC
accent
#D31293
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #8F64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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