#8F4DFF#8F4DFF

#8F4DFF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.247 H 294.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8F4DFF
RGBrgb(143, 77, 255)
HSLhsl(262, 100%, 65%)
HSVhsv(262, 70%, 100%)
CMYKcmyk(43.9%, 69.8%, 0%, 0%)
CIE-LABlab(49.94, 63.72, -78.39)
CIE-LCHlch(49.94, 101.02, 309.11°)
OKLaboklab(59.67% 0.1032 -0.2244)
OKLCHoklch(59.67% 0.247 294.7)
XYZxyz(32.0267, 18.3665, 96.4460)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DFF #BDFF4D
analogous
#4D64FF #8F4DFF #E84DFF
triadic
#8F4DFF #FF8F4D #4DFF8F
tetradic
#8F4DFF #FF4D64 #BDFF4D #4DFFE8
square
#8F4DFF #FF4D64 #BDFF4D #4DFFE8
split-complementary
#8F4DFF #FFE84D #64FF4D
monochromatic
#4E00D2 #6810FF #8F4DFF #B68AFF #DCC7FF

Accessibility & contrast

On white

4.49
#8F4DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8F4DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F4DFF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DFF#FFFFFF#000000##000000
##8F4DFF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#6F7AA1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f4dff;
/* rgb */ color: rgb(143, 77, 255);
/* oklch */ color: oklch(59.7% 0.247 294.7);
Tailwind
colors: {
  custom: {
    50: '#b884ff',
    500: '#8f4dff',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dff;
$custom-light: #b884ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dff",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 262.247,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59667,
    "c": 0.24699,
    "h": 294.7
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

primary
#8F4DFF
secondary
#DCF2B6
accent
#E60090
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8F4DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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