#8F64DB#8F64DB

#8F64DB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.3% C 0.176 H 297.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8F64DB
RGBrgb(143, 100, 219)
HSLhsl(262, 62%, 63%)
HSVhsv(262, 54%, 86%)
CMYKcmyk(34.7%, 54.3%, 0%, 14.1%)
CIE-LABlab(51.91, 42.58, -55.00)
CIE-LCHlch(51.91, 69.56, 307.75°)
OKLaboklab(60.33% 0.0813 -0.1557)
OKLCHoklch(60.33% 0.176 297.6)
XYZxyz(28.6679, 20.0681, 69.3673)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64DB #B0DB64
analogous
#6474DB #8F64DB #CB64DB
triadic
#8F64DB #DB8F64 #64DB8F
tetradic
#8F64DB #DB6474 #B0DB64 #64DBCB
square
#8F64DB #DB6474 #B0DB64 #64DBCB
split-complementary
#8F64DB #DBCB64 #74DB64
monochromatic
#5125A0 #6B32CF #8F64DB #B396E7 #D7C7F2

Accessibility & contrast

On white

4.19
#8F64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8F64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64DB#FFFFFF#000000##000000
##8F64DB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#3F7AD8
Tritanopia (blue-blind)
#7E7C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f64db;
/* rgb */ color: rgb(143, 100, 219);
/* oklch */ color: oklch(60.3% 0.176 297.6);
Tailwind
colors: {
  custom: {
    50: '#b491e7',
    500: '#8f64db',
    950: '#000000',
  },
}
SCSS
$custom: #8f64db;
$custom-light: #b491e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64db",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 261.681,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.17564,
    "h": 297.6
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#8F64DB
secondary
#D3E3B8
accent
#CA1B8B
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8F64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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