#8F4DE6#8F4DE6

#8F4DE6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.220 H 299.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8F4DE6
RGBrgb(143, 77, 230)
HSLhsl(266, 75%, 60%)
HSVhsv(266, 67%, 90%)
CMYKcmyk(37.8%, 66.5%, 0%, 9.8%)
CIE-LABlab(48.08, 57.50, -67.40)
CIE-LCHlch(48.08, 88.59, 310.47°)
OKLaboklab(57.76% 0.1071 -0.1921)
OKLCHoklch(57.76% 0.22 299.1)
XYZxyz(28.2609, 16.8602, 76.6130)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DE6 #A4E64D
analogous
#4D58E6 #8F4DE6 #DB4DE6
triadic
#8F4DE6 #E68F4D #4DE68F
tetradic
#8F4DE6 #E64D58 #A4E64D #4DE6DB
square
#8F4DE6 #E64D58 #A4E64D #4DE6DB
split-complementary
#8F4DE6 #E6DB4D #58E64D
monochromatic
#5317A2 #6E1ED8 #8F4DE6 #B183EE #D3B8F5

Accessibility & contrast

On white

4.80
#8F4DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8F4DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DE6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DE6#FFFFFF#000000##FFFFFF
##8F4DE61.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#7B7193
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f4de6;
/* rgb */ color: rgb(143, 77, 230);
/* oklch */ color: oklch(57.8% 0.220 299.1);
Tailwind
colors: {
  custom: {
    50: '#b683ef',
    500: '#8f4de6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4de6;
$custom-light: #b683ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4de6",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 265.882,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57764,
    "c": 0.21995,
    "h": 299.1
  },
  "luminance": 0.16861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F4DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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