#8F64F2#8F64F2

#8F64F2 is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 61.8% C 0.204 H 293.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8F64F2
RGBrgb(143, 100, 242)
HSLhsl(258, 85%, 67%)
HSVhsv(258, 59%, 95%)
CMYKcmyk(40.9%, 58.7%, 0%, 5.1%)
CIE-LABlab(53.35, 48.60, -65.62)
CIE-LCHlch(53.35, 81.66, 306.52°)
OKLaboklab(61.84% 0.0813 -0.1869)
OKLCHoklch(61.84% 0.204 293.5)
XYZxyz(31.9076, 21.3640, 86.4297)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F64F2 #C7F264
analogous
#6480F2 #8F64F2 #D664F2
triadic
#8F64F2 #F28F64 #64F28F
tetradic
#8F64F2 #F26480 #C7F264 #64F2D6
square
#8F64F2 #F26480 #C7F264 #64F2D6
split-complementary
#8F64F2 #F2D664 #80F264
monochromatic
#4911CB #662CED #8F64F2 #B89CF7 #E1D5FB

Accessibility & contrast

On white

3.98
#8F64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8F64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F64F2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F64F2#FFFFFF#000000##000000
##8F64F21.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#167DEF
Tritanopia (blue-blind)
#7583A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f64f2;
/* rgb */ color: rgb(143, 100, 242);
/* oklch */ color: oklch(61.8% 0.204 293.5);
Tailwind
colors: {
  custom: {
    50: '#b692f7',
    500: '#8f64f2',
    950: '#000000',
  },
}
SCSS
$custom: #8f64f2;
$custom-light: #b692f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f64f2",
  "rgb": {
    "r": 143,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 258.169,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.20384,
    "h": 293.5
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#8F64F2
secondary
#E2EFC2
accent
#E1059E
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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