#8F2FC4#8F2FC4

#8F2FC4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.220 H 310.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8F2FC4
RGBrgb(143, 47, 196)
HSLhsl(279, 61%, 48%)
HSVhsv(279, 76%, 77%)
CMYKcmyk(27%, 76%, 0%, 23.1%)
CIE-LABlab(40.99, 62.76, -59.39)
CIE-LCHlch(40.99, 86.41, 316.58°)
OKLaboklab(51.95% 0.1417 -0.1684)
OKLCHoklch(51.95% 0.22 310.1)
XYZxyz(22.3060, 11.8587, 53.3277)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FC4 #64C42F
analogous
#452FC4 #8F2FC4 #C42FAE
triadic
#8F2FC4 #C48F2F #2FC48F
tetradic
#8F2FC4 #C4452F #64C42F #2FAEC4
square
#8F2FC4 #C4452F #64C42F #2FAEC4
split-complementary
#8F2FC4 #AEC42F #2FC445
monochromatic
#471761 #6B2393 #8F2FC4 #AA59D7 #C38AE3

Accessibility & contrast

On white

6.23
#8F2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8F2FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FC4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FC4#FFFFFF#000000##FFFFFF
##8F2FC41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#875378
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f2fc4;
/* rgb */ color: rgb(143, 47, 196);
/* oklch */ color: oklch(52.0% 0.220 310.1);
Tailwind
colors: {
  custom: {
    50: '#b572d7',
    500: '#8f2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fc4;
$custom-light: #b572d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fc4",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 278.658,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51951,
    "c": 0.22007,
    "h": 310.1
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#8F2FC4
secondary
#9DCD82
accent
#E4437D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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