#8D2FC7#8D2FC7

#8D2FC7 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.222 H 308.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8D2FC7
RGBrgb(141, 47, 199)
HSLhsl(277, 62%, 48%)
HSVhsv(277, 76%, 78%)
CMYKcmyk(29.1%, 76.4%, 0%, 22%)
CIE-LABlab(40.93, 63.04, -61.25)
CIE-LCHlch(40.93, 87.90, 315.82°)
OKLaboklab(51.92% 0.1384 -0.1739)
OKLCHoklch(51.92% 0.222 308.5)
XYZxyz(22.3077, 11.8196, 55.1280)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FC7 #69C72F
analogous
#412FC7 #8D2FC7 #C72FB5
triadic
#8D2FC7 #C78D2F #2FC78D
tetradic
#8D2FC7 #C7412F #69C72F #2FB5C7
square
#8D2FC7 #C7412F #69C72F #2FB5C7
split-complementary
#8D2FC7 #B5C72F #2FC741
monochromatic
#471864 #6A2395 #8D2FC7 #A85BD8 #C38CE4

Accessibility & contrast

On white

6.24
#8D2FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D2FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FC7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FC7#FFFFFF#000000##FFFFFF
##8D2FC71.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#84557A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d2fc7;
/* rgb */ color: rgb(141, 47, 199);
/* oklch */ color: oklch(51.9% 0.222 308.5);
Tailwind
colors: {
  custom: {
    50: '#b472d9',
    500: '#8d2fc7',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fc7;
$custom-light: #b472d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fc7",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 277.105,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.2223,
    "h": 308.5
  },
  "luminance": 0.11819
}

Semantic roles & 50–950 ramp

primary
#8D2FC7
secondary
#A0CE84
accent
#E54381
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8D2FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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