#8F64C8#8F64C8

#8F64C8 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.2% C 0.152 H 301.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F64C8
RGBrgb(143, 100, 200)
HSLhsl(266, 48%, 59%)
HSVhsv(266, 50%, 78%)
CMYKcmyk(28.5%, 50%, 0%, 21.6%)
CIE-LABlab(50.83, 37.78, -45.90)
CIE-LCHlch(50.83, 59.45, 309.46°)
OKLaboklab(59.17% 0.08 -0.1291)
OKLCHoklch(59.17% 0.152 301.8)
XYZxyz(26.3078, 19.1241, 56.9377)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64C8 #9DC864
analogous
#646BC8 #8F64C8 #C164C8
triadic
#8F64C8 #C88F64 #64C88F
tetradic
#8F64C8 #C8646B #9DC864 #64C8C1
square
#8F64C8 #C8646B #9DC864 #64C8C1
split-complementary
#8F64C8 #C8C164 #6BC864
monochromatic
#532F83 #6F3FB0 #8F64C8 #B091D8 #D0BEE8

Accessibility & contrast

On white

4.35
#8F64C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8F64C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64C8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64C8#FFFFFF#000000##000000
##8F64C81.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#4F79C6
Tritanopia (blue-blind)
#84768D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f64c8;
/* rgb */ color: rgb(143, 100, 200);
/* oklch */ color: oklch(59.2% 0.152 301.8);
Tailwind
colors: {
  custom: {
    50: '#b291d9',
    500: '#8f64c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f64c8;
$custom-light: #b291d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64c8",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 265.8,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.15187,
    "h": 301.8
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#8F64C8
secondary
#C7D8B0
accent
#D7519D
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D15
muted
#807E83

Preview Lab

Preview with #8F64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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