#8F64CD#8F64CD

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

Color values

HEX#8F64CD
RGBrgb(143, 100, 205)
HSLhsl(265, 51%, 60%)
HSVhsv(265, 51%, 80%)
CMYKcmyk(30.2%, 51.2%, 0%, 19.6%)
CIE-LABlab(51.11, 39.03, -48.33)
CIE-LCHlch(51.11, 62.12, 308.92°)
OKLaboklab(59.47% 0.0805 -0.1361)
OKLCHoklch(59.47% 0.158 300.6)
XYZxyz(26.9017, 19.3616, 60.0657)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64CD #A2CD64
analogous
#646ECD #8F64CD #C364CD
triadic
#8F64CD #CD8F64 #64CD8F
tetradic
#8F64CD #CD646E #A2CD64 #64CDC3
square
#8F64CD #CD646E #A2CD64 #64CDC3
split-complementary
#8F64CD #CDC364 #6ECD64
monochromatic
#532D8A #6F3BB8 #8F64CD #B092DC #D2C1EB

Accessibility & contrast

On white

4.31
#8F64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8F64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64CD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64CD#FFFFFF#000000##000000
##8F64CD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D1
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#83788F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f64cd;
/* rgb */ color: rgb(143, 100, 205);
/* oklch */ color: oklch(59.5% 0.158 300.6);
Tailwind
colors: {
  custom: {
    50: '#b391dd',
    500: '#8f64cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f64cd;
$custom-light: #b391dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64cd",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 264.571,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.15816,
    "h": 300.6
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

primary
#8F64CD
secondary
#CADBB2
accent
#DB4DA1
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8F64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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