#8F64CE#8F64CE

#8F64CE is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.5% C 0.159 H 300.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8F64CE
RGBrgb(143, 100, 206)
HSLhsl(264, 52%, 60%)
HSVhsv(264, 51%, 81%)
CMYKcmyk(30.6%, 51.5%, 0%, 19.2%)
CIE-LABlab(51.16, 39.28, -48.81)
CIE-LCHlch(51.16, 62.65, 308.83°)
OKLaboklab(59.53% 0.0806 -0.1376)
OKLCHoklch(59.53% 0.159 300.4)
XYZxyz(27.0228, 19.4101, 60.7034)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64CE #A3CE64
analogous
#646ECE #8F64CE #C464CE
triadic
#8F64CE #CE8F64 #64CE8F
tetradic
#8F64CE #CE646E #A3CE64 #64CEC4
square
#8F64CE #CE646E #A3CE64 #64CEC4
split-complementary
#8F64CE #CEC464 #6ECE64
monochromatic
#532C8C #6E3BBA #8F64CE #B192DD #D2C1EB

Accessibility & contrast

On white

4.30
#8F64CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8F64CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64CE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64CE#FFFFFF#000000##000000
##8F64CE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D2
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#827890
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f64ce;
/* rgb */ color: rgb(143, 100, 206);
/* oklch */ color: oklch(59.5% 0.159 300.4);
Tailwind
colors: {
  custom: {
    50: '#b391dd',
    500: '#8f64ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f64ce;
$custom-light: #b391dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64ce",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 264.34,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.59528,
    "c": 0.15941,
    "h": 300.4
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#8F64CE
secondary
#CBDBB2
accent
#DB4CA1
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8F64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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