#8F2FC5#8F2FC5

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

Color values

HEX#8F2FC5
RGBrgb(143, 47, 197)
HSLhsl(278, 61%, 48%)
HSVhsv(278, 76%, 77%)
CMYKcmyk(27.4%, 76.1%, 0%, 22.7%)
CIE-LABlab(41.06, 62.97, -59.85)
CIE-LCHlch(41.06, 86.88, 316.45°)
OKLaboklab(52.03% 0.1415 -0.1698)
OKLCHoklch(52.03% 0.221 309.8)
XYZxyz(22.4202, 11.9044, 53.9292)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FC5 #65C52F
analogous
#442FC5 #8F2FC5 #C52FB0
triadic
#8F2FC5 #C58F2F #2FC58F
tetradic
#8F2FC5 #C5442F #65C52F #2FB0C5
square
#8F2FC5 #C5442F #65C52F #2FB0C5
split-complementary
#8F2FC5 #B0C52F #2FC544
monochromatic
#471762 #6B2394 #8F2FC5 #AA5AD8 #C48BE3

Accessibility & contrast

On white

6.21
#8F2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8F2FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FC5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FC5#FFFFFF#000000##FFFFFF
##8F2FC51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#875379
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f2fc5;
/* rgb */ color: rgb(143, 47, 197);
/* oklch */ color: oklch(52.0% 0.221 309.8);
Tailwind
colors: {
  custom: {
    50: '#b572d7',
    500: '#8f2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fc5;
$custom-light: #b572d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fc5",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 278.4,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.22099,
    "h": 309.8
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#8F2FC5
secondary
#9DCD82
accent
#E5437D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8F2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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