#8F2FC2#8F2FC2

#8F2FC2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.218 H 310.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8F2FC2
RGBrgb(143, 47, 194)
HSLhsl(279, 61%, 47%)
HSVhsv(279, 76%, 76%)
CMYKcmyk(26.3%, 75.8%, 0%, 23.9%)
CIE-LABlab(40.85, 62.34, -58.46)
CIE-LCHlch(40.85, 85.46, 316.84°)
OKLaboklab(51.8% 0.1421 -0.1657)
OKLCHoklch(51.8% 0.218 310.6)
XYZxyz(22.0799, 11.7682, 52.1368)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FC2 #62C22F
analogous
#462FC2 #8F2FC2 #C22FAB
triadic
#8F2FC2 #C28F2F #2FC28F
tetradic
#8F2FC2 #C2462F #62C22F #2FABC2
square
#8F2FC2 #C2462F #62C22F #2FABC2
split-complementary
#8F2FC2 #ABC22F #2FC246
monochromatic
#46175F #6B2391 #8F2FC2 #AB58D6 #C389E2

Accessibility & contrast

On white

6.26
#8F2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8F2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FC2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FC2#FFFFFF#000000##FFFFFF
##8F2FC21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0862BF
Tritanopia (blue-blind)
#885277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f2fc2;
/* rgb */ color: rgb(143, 47, 194);
/* oklch */ color: oklch(51.8% 0.218 310.6);
Tailwind
colors: {
  custom: {
    50: '#b572d5',
    500: '#8f2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fc2;
$custom-light: #b572d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fc2",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 279.184,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.21823,
    "h": 310.6
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#8F2FC2
secondary
#9BCC81
accent
#E4447B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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