#8D64F2#8D64F2

#8D64F2 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.7% C 0.204 H 292.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8D64F2
RGBrgb(141, 100, 242)
HSLhsl(257, 85%, 67%)
HSVhsv(257, 59%, 95%)
CMYKcmyk(41.7%, 58.7%, 0%, 5.1%)
CIE-LABlab(53.15, 48.17, -65.94)
CIE-LCHlch(53.15, 81.66, 306.15°)
OKLaboklab(61.65% 0.0787 -0.1879)
OKLCHoklch(61.65% 0.204 292.7)
XYZxyz(31.5643, 21.1870, 86.4136)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64F2 #C9F264
analogous
#6482F2 #8D64F2 #D464F2
triadic
#8D64F2 #F28D64 #64F28D
tetradic
#8D64F2 #F26482 #C9F264 #64F2D4
square
#8D64F2 #F26482 #C9F264 #64F2D4
split-complementary
#8D64F2 #F2D464 #82F264
monochromatic
#4711CB #632CED #8D64F2 #B79CF7 #E0D5FB

Accessibility & contrast

On white

4.01
#8D64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8D64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64F2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64F2#FFFFFF#000000##000000
##8D64F21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#107CEF
Tritanopia (blue-blind)
#7183A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d64f2;
/* rgb */ color: rgb(141, 100, 242);
/* oklch */ color: oklch(61.7% 0.204 292.7);
Tailwind
colors: {
  custom: {
    50: '#b492f7',
    500: '#8d64f2',
    950: '#000000',
  },
}
SCSS
$custom: #8d64f2;
$custom-light: #b492f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64f2",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 257.324,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.20375,
    "h": 292.7
  },
  "luminance": 0.21188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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