#8D2FC6#8D2FC6

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

Color values

HEX#8D2FC6
RGBrgb(141, 47, 198)
HSLhsl(277, 62%, 48%)
HSVhsv(277, 76%, 78%)
CMYKcmyk(28.8%, 76.3%, 0%, 22.4%)
CIE-LABlab(40.85, 62.83, -60.79)
CIE-LCHlch(40.85, 87.42, 315.94°)
OKLaboklab(51.84% 0.1386 -0.1726)
OKLCHoklch(51.84% 0.221 308.8)
XYZxyz(22.1920, 11.7734, 54.5186)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FC6 #68C62F
analogous
#412FC6 #8D2FC6 #C62FB3
triadic
#8D2FC6 #C68D2F #2FC68D
tetradic
#8D2FC6 #C6412F #68C62F #2FB3C6
square
#8D2FC6 #C6412F #68C62F #2FB3C6
split-complementary
#8D2FC6 #B3C62F #2FC641
monochromatic
#471863 #6A2395 #8D2FC6 #A85AD8 #C28CE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2FC6#FFFFFF#000000##FFFFFF
##8D2FC61.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)
#005DCA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#845479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d2fc6;
/* rgb */ color: rgb(141, 47, 198);
/* oklch */ color: oklch(51.8% 0.221 308.8);
Tailwind
colors: {
  custom: {
    50: '#b472d8',
    500: '#8d2fc6',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fc6;
$custom-light: #b472d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fc6",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 277.351,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.22137,
    "h": 308.8
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#8D2FC6
secondary
#9FCE83
accent
#E54380
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8D2FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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