#8F54FF#8F54FF

#8F54FF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.239 H 293.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8F54FF
RGBrgb(143, 84, 255)
HSLhsl(261, 100%, 66%)
HSVhsv(261, 67%, 100%)
CMYKcmyk(43.9%, 67.1%, 0%, 0%)
CIE-LABlab(51.15, 60.35, -76.41)
CIE-LCHlch(51.15, 97.37, 308.30°)
OKLaboklab(60.53% 0.0967 -0.2186)
OKLCHoklch(60.53% 0.239 293.9)
XYZxyz(32.5431, 19.3994, 96.6182)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54FF #C4FF54
analogous
#546FFF #8F54FF #E554FF
triadic
#8F54FF #FF8F54 #54FF8F
tetradic
#8F54FF #FF546F #C4FF54 #54FFE5
square
#8F54FF #FF546F #C4FF54 #54FFE5
split-complementary
#8F54FF #FFE554 #6FFF54
monochromatic
#4B00D9 #6717FF #8F54FF #B791FF #DFCEFF

Accessibility & contrast

On white

4.30
#8F54FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8F54FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F54FF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54FF#FFFFFF#000000##000000
##8F54FF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0077FC
Tritanopia (blue-blind)
#6F7EA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f54ff;
/* rgb */ color: rgb(143, 84, 255);
/* oklch */ color: oklch(60.5% 0.239 293.9);
Tailwind
colors: {
  custom: {
    50: '#b888ff',
    500: '#8f54ff',
    950: '#000000',
  },
}
SCSS
$custom: #8f54ff;
$custom-light: #b888ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54ff",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 260.702,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.23907,
    "h": 293.9
  },
  "luminance": 0.194
}

Semantic roles & 50–950 ramp

primary
#8F54FF
secondary
#E0F3BC
accent
#E60096
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8F54FF

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

Preview Lab → · Contrast checker → · Palette generator →

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