#8F4FF8#8F4FF8

#8F4FF8 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.237 H 295.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8F4FF8
RGBrgb(143, 79, 248)
HSLhsl(263, 92%, 64%)
HSVhsv(263, 68%, 97%)
CMYKcmyk(42.3%, 68.1%, 0%, 2.7%)
CIE-LABlab(49.75, 61.01, -74.80)
CIE-LCHlch(49.75, 96.53, 309.20°)
OKLaboklab(59.37% 0.1025 -0.2139)
OKLCHoklch(59.37% 0.237 295.6)
XYZxyz(31.0624, 18.2082, 90.6667)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FF8 #B8F84F
analogous
#4F64F8 #8F4FF8 #E44FF8
triadic
#8F4FF8 #F88F4F #4FF88F
tetradic
#8F4FF8 #F84F64 #B8F84F #4FF8E4
square
#8F4FF8 #F84F64 #B8F84F #4FF8E4
split-complementary
#8F4FF8 #F8E44F #64F84F
monochromatic
#4F08C5 #6A14F6 #8F4FF8 #B48AFA #DAC5FD

Accessibility & contrast

On white

4.52
#8F4FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8F4FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F4FF8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FF8#FFFFFF#000000##000000
##8F4FF81.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#73799E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f4ff8;
/* rgb */ color: rgb(143, 79, 248);
/* oklch */ color: oklch(59.4% 0.237 295.6);
Tailwind
colors: {
  custom: {
    50: '#b785fc',
    500: '#8f4ff8',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ff8;
$custom-light: #b785fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ff8",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 248
  },
  "hsl": {
    "h": 262.722,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.23719,
    "h": 295.6
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#8F4FF8
secondary
#D9EFB4
accent
#E6008F
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8F4FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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