#8F5EE7#8F5EE7

#8F5EE7 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.2% C 0.199 H 296.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8F5EE7
RGBrgb(143, 94, 231)
HSLhsl(261, 74%, 64%)
HSVhsv(261, 59%, 91%)
CMYKcmyk(38.1%, 59.3%, 0%, 9.4%)
CIE-LABlab(51.40, 48.98, -62.60)
CIE-LCHlch(51.40, 79.48, 308.04°)
OKLaboklab(60.19% 0.0885 -0.178)
OKLCHoklch(60.19% 0.199 296.4)
XYZxyz(29.7505, 19.6140, 77.8043)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EE7 #B6E75E
analogous
#5E71E7 #8F5EE7 #D35EE7
triadic
#8F5EE7 #E78F5E #5EE78F
tetradic
#8F5EE7 #E75E71 #B6E75E #5EE7D3
square
#8F5EE7 #E75E71 #B6E75E #5EE7D3
split-complementary
#8F5EE7 #E7D35E #71E75E
monochromatic
#501AB0 #6A29DF #8F5EE7 #B493EF #D9C9F7

Accessibility & contrast

On white

4.27
#8F5EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8F5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EE7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EE7#FFFFFF#000000##000000
##8F5EE71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#2179E4
Tritanopia (blue-blind)
#7A7C9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5ee7;
/* rgb */ color: rgb(143, 94, 231);
/* oklch */ color: oklch(60.2% 0.199 296.4);
Tailwind
colors: {
  custom: {
    50: '#b58eef',
    500: '#8f5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ee7;
$custom-light: #b58eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ee7",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 261.46,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.1988,
    "h": 296.4
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#8F5EE7
secondary
#D7E9B8
accent
#D60F8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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