#8F4FC8#8F4FC8

#8F4FC8 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.184 H 305.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8F4FC8
RGBrgb(143, 79, 200)
HSLhsl(272, 52%, 55%)
HSVhsv(272, 61%, 78%)
CMYKcmyk(28.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(46.45, 49.24, -52.91)
CIE-LCHlch(46.45, 72.27, 312.94°)
OKLaboklab(55.95% 0.1072 -0.1495)
OKLCHoklch(55.95% 0.184 305.6)
XYZxyz(24.5468, 15.6019, 56.3507)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FC8 #88C84F
analogous
#534FC8 #8F4FC8 #C84FC4
triadic
#8F4FC8 #C88F4F #4FC88F
tetradic
#8F4FC8 #C8534F #88C84F #4FC4C8
square
#8F4FC8 #C8534F #88C84F #4FC4C8
split-complementary
#8F4FC8 #C4C84F #4FC853
monochromatic
#512577 #7034A6 #8F4FC8 #AD7ED7 #CAACE5

Accessibility & contrast

On white

5.10
#8F4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8F4FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FC8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FC8#FFFFFF#000000##FFFFFF
##8F4FC81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116CCC
Deuteranopia (green-blind)
#366EC5
Tritanopia (blue-blind)
#856784
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4fc8;
/* rgb */ color: rgb(143, 79, 200);
/* oklch */ color: oklch(55.9% 0.184 305.6);
Tailwind
colors: {
  custom: {
    50: '#b383d9',
    500: '#8f4fc8',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fc8;
$custom-light: #b383d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fc8",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 271.736,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55946,
    "c": 0.18397,
    "h": 305.6
  },
  "luminance": 0.15602
}

Semantic roles & 50–950 ramp

primary
#8F4FC8
secondary
#B8D3A0
accent
#DC4C90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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