#8F64EF#8F64EF

#8F64EF is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.6% C 0.200 H 294.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8F64EF
RGBrgb(143, 100, 239)
HSLhsl(259, 81%, 66%)
HSVhsv(259, 58%, 94%)
CMYKcmyk(40.2%, 58.2%, 0%, 6.3%)
CIE-LABlab(53.15, 47.80, -64.26)
CIE-LCHlch(53.15, 80.09, 306.65°)
OKLaboklab(61.63% 0.0814 -0.1829)
OKLCHoklch(61.63% 0.2 294)
XYZxyz(31.4607, 21.1852, 84.0762)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64EF #C4EF64
analogous
#647FEF #8F64EF #D564EF
triadic
#8F64EF #EF8F64 #64EF8F
tetradic
#8F64EF #EF647F #C4EF64 #64EFD5
square
#8F64EF #EF647F #C4EF64 #64EFD5
split-complementary
#8F64EF #EFD564 #7FEF64
monochromatic
#4B14C4 #672DE9 #8F64EF #B79BF5 #DFD3FA

Accessibility & contrast

On white

4.01
#8F64EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8F64EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64EF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64EF#FFFFFF#000000##000000
##8F64EF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#1F7DEC
Tritanopia (blue-blind)
#7682A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f64ef;
/* rgb */ color: rgb(143, 100, 239);
/* oklch */ color: oklch(61.6% 0.200 294.0);
Tailwind
colors: {
  custom: {
    50: '#b592f5',
    500: '#8f64ef',
    950: '#000000',
  },
}
SCSS
$custom: #8f64ef;
$custom-light: #b592f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64ef",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 239
  },
  "hsl": {
    "h": 258.561,
    "s": 81.287,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.2002,
    "h": 294
  },
  "luminance": 0.21186
}

Semantic roles & 50–950 ramp

primary
#8F64EF
secondary
#E0EEC1
accent
#DE089C
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F64EF

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

Preview Lab → · Contrast checker → · Palette generator →

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