#8F2FC1#8F2FC1

#8F2FC1 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.7% C 0.217 H 310.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8F2FC1
RGBrgb(143, 47, 193)
HSLhsl(279, 61%, 47%)
HSVhsv(279, 76%, 76%)
CMYKcmyk(25.9%, 75.6%, 0%, 24.3%)
CIE-LABlab(40.77, 62.13, -57.99)
CIE-LCHlch(40.77, 84.99, 316.98°)
OKLaboklab(51.73% 0.1422 -0.1643)
OKLCHoklch(51.73% 0.217 310.9)
XYZxyz(21.9680, 11.7235, 51.5473)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FC1 #61C12F
analogous
#462FC1 #8F2FC1 #C12FAA
triadic
#8F2FC1 #C18F2F #2FC18F
tetradic
#8F2FC1 #C1462F #61C12F #2FAAC1
square
#8F2FC1 #C1462F #61C12F #2FAAC1
split-complementary
#8F2FC1 #AAC12F #2FC146
monochromatic
#46175F #6B2390 #8F2FC1 #AB57D6 #C388E2

Accessibility & contrast

On white

6.28
#8F2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8F2FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FC1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FC1#FFFFFF#000000##FFFFFF
##8F2FC11.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#0C62BE
Tritanopia (blue-blind)
#885277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f2fc1;
/* rgb */ color: rgb(143, 47, 193);
/* oklch */ color: oklch(51.7% 0.217 310.9);
Tailwind
colors: {
  custom: {
    50: '#b572d5',
    500: '#8f2fc1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fc1;
$custom-light: #b572d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fc1",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 279.452,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.21731,
    "h": 310.9
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F2FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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