#8F4CE7#8F4CE7

#8F4CE7 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.222 H 299.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F4CE7
RGBrgb(143, 76, 231)
HSLhsl(266, 76%, 60%)
HSVhsv(266, 67%, 91%)
CMYKcmyk(38.1%, 67.1%, 0%, 9.4%)
CIE-LABlab(47.98, 58.23, -68.13)
CIE-LCHlch(47.98, 89.63, 310.52°)
OKLaboklab(57.71% 0.108 -0.1943)
OKLCHoklch(57.71% 0.222 299.1)
XYZxyz(28.3323, 16.7777, 77.3315)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CE7 #A4E74C
analogous
#4C57E7 #8F4CE7 #DC4CE7
triadic
#8F4CE7 #E78F4C #4CE78F
tetradic
#8F4CE7 #E74C57 #A4E74C #4CE7DC
square
#8F4CE7 #E74C57 #A4E74C #4CE7DC
split-complementary
#8F4CE7 #E7DC4C #57E74C
monochromatic
#5316A3 #6E1DD9 #8F4CE7 #B182EE #D3B8F5

Accessibility & contrast

On white

4.82
#8F4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8F4CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CE7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CE7#FFFFFF#000000##FFFFFF
##8F4CE71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#7B7194
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f4ce7;
/* rgb */ color: rgb(143, 76, 231);
/* oklch */ color: oklch(57.7% 0.222 299.1);
Tailwind
colors: {
  custom: {
    50: '#b682f0',
    500: '#8f4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ce7;
$custom-light: #b682f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ce7",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 265.935,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.22227,
    "h": 299.1
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#8F4CE7
secondary
#CBE5AA
accent
#D90D81
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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