#8F2FED#8F2FED

#8F2FED is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 55.2% C 0.258 H 300.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8F2FED
RGBrgb(143, 47, 237)
HSLhsl(270, 84%, 56%)
HSVhsv(270, 80%, 93%)
CMYKcmyk(39.7%, 80.2%, 0%, 7.1%)
CIE-LABlab(44.21, 71.66, -77.66)
CIE-LCHlch(44.21, 105.67, 312.70°)
OKLaboklab(55.2% 0.1314 -0.2221)
OKLCHoklch(55.2% 0.258 300.6)
XYZxyz(27.6265, 13.9868, 81.3486)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FED #8DED2F
analogous
#302FED #8F2FED #ED2FEC
triadic
#8F2FED #ED8F2F #2FED8F
tetradic
#8F2FED #ED302F #8DED2F #2FECED
square
#8F2FED #ED302F #8DED2F #2FECED
split-complementary
#8F2FED #ECED2F #2FED30
monochromatic
#520D95 #7012CD #8F2FED #AD67F2 #CCA0F7

Accessibility & contrast

On white

5.53
#8F2FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8F2FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FED
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FED#FFFFFF#000000##FFFFFF
##8F2FED1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F2
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#796590
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f2fed;
/* rgb */ color: rgb(143, 47, 237);
/* oklch */ color: oklch(55.2% 0.258 300.6);
Tailwind
colors: {
  custom: {
    50: '#b874f4',
    500: '#8f2fed',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fed;
$custom-light: #b874f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fed",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 237
  },
  "hsl": {
    "h": 270.316,
    "s": 84.071,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55203,
    "c": 0.25804,
    "h": 300.6
  },
  "luminance": 0.13987
}

Semantic roles & 50–950 ramp

primary
#8F2FED
secondary
#BBE394
accent
#FA2D93
background
#FCF7FF
surface
#F8EDFE
border
#D1C8D6
text
#130917
muted
#827B85

Preview Lab

Preview with #8F2FED

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

Preview Lab → · Contrast checker → · Palette generator →

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