#8F4FE3#8F4FE3

#8F4FE3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.214 H 299.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8F4FE3
RGBrgb(143, 79, 227)
HSLhsl(266, 73%, 60%)
HSVhsv(266, 65%, 89%)
CMYKcmyk(37%, 65.2%, 0%, 11%)
CIE-LABlab(48.23, 55.77, -65.46)
CIE-LCHlch(48.23, 86.00, 310.43°)
OKLaboklab(57.8% 0.1054 -0.1864)
OKLCHoklch(57.8% 0.214 299.5)
XYZxyz(27.9854, 16.9774, 74.4607)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FE3 #A3E34F
analogous
#4F59E3 #8F4FE3 #D94FE3
triadic
#8F4FE3 #E38F4F #4FE38F
tetradic
#8F4FE3 #E34F59 #A3E34F #4FE3D9
square
#8F4FE3 #E34F59 #A3E34F #4FE3D9
split-complementary
#8F4FE3 #E3D94F #59E34F
monochromatic
#53199E #6E22D3 #8F4FE3 #B184EB #D2B9F4

Accessibility & contrast

On white

4.78
#8F4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8F4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FE3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FE3#FFFFFF#000000##FFFFFF
##8F4FE31.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f4fe3;
/* rgb */ color: rgb(143, 79, 227);
/* oklch */ color: oklch(57.8% 0.214 299.5);
Tailwind
colors: {
  custom: {
    50: '#b584ed',
    500: '#8f4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fe3;
$custom-light: #b584ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fe3",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 265.946,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.21414,
    "h": 299.5
  },
  "luminance": 0.16978
}

Semantic roles & 50–950 ramp

primary
#8F4FE3
secondary
#CBE3AA
accent
#EF39A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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