#8F4EE3#8F4EE3

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

Color values

HEX#8F4EE3
RGBrgb(143, 78, 227)
HSLhsl(266, 73%, 60%)
HSVhsv(266, 66%, 89%)
CMYKcmyk(37%, 65.6%, 0%, 11%)
CIE-LABlab(48.05, 56.27, -65.75)
CIE-LCHlch(48.05, 86.55, 310.56°)
OKLaboklab(57.67% 0.1064 -0.1873)
OKLCHoklch(57.67% 0.215 299.6)
XYZxyz(27.9138, 16.8342, 74.4368)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EE3 #A2E34E
analogous
#4E58E3 #8F4EE3 #D94EE3
triadic
#8F4EE3 #E38F4E #4EE38F
tetradic
#8F4EE3 #E34E58 #A2E34E #4EE3D9
square
#8F4EE3 #E34E58 #A2E34E #4EE3D9
split-complementary
#8F4EE3 #E3D94E #58E34E
monochromatic
#53199E #6F21D3 #8F4EE3 #B083EB #D2B8F4

Accessibility & contrast

On white

4.81
#8F4EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F4EE3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EE3#FFFFFF#000000##FFFFFF
##8F4EE31.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#7C7092
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f4ee3;
/* rgb */ color: rgb(143, 78, 227);
/* oklch */ color: oklch(57.7% 0.215 299.6);
Tailwind
colors: {
  custom: {
    50: '#b684ed',
    500: '#8f4ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ee3;
$custom-light: #b684ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ee3",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 266.174,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.21541,
    "h": 299.6
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#8F4EE3
secondary
#CAE3AA
accent
#EF38A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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