#8D2FC2#8D2FC2

#8D2FC2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.218 H 309.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8D2FC2
RGBrgb(141, 47, 194)
HSLhsl(278, 61%, 47%)
HSVhsv(278, 76%, 76%)
CMYKcmyk(27.3%, 75.8%, 0%, 23.9%)
CIE-LABlab(40.56, 61.98, -58.94)
CIE-LCHlch(40.56, 85.53, 316.44°)
OKLaboklab(51.54% 0.1394 -0.1671)
OKLCHoklch(51.54% 0.218 309.8)
XYZxyz(21.7367, 11.5912, 52.1207)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FC2 #64C22F
analogous
#432FC2 #8D2FC2 #C22FAE
triadic
#8D2FC2 #C28D2F #2FC28D
tetradic
#8D2FC2 #C2432F #64C22F #2FAEC2
square
#8D2FC2 #C2432F #64C22F #2FAEC2
split-complementary
#8D2FC2 #AEC22F #2FC243
monochromatic
#45175F #692391 #8D2FC2 #A958D6 #C289E2

Accessibility & contrast

On white

6.33
#8D2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FC2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FC2#FFFFFF#000000##FFFFFF
##8D2FC21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2fc2;
/* rgb */ color: rgb(141, 47, 194);
/* oklch */ color: oklch(51.5% 0.218 309.8);
Tailwind
colors: {
  custom: {
    50: '#b372d5',
    500: '#8d2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fc2;
$custom-light: #b372d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fc2",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 278.367,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51542,
    "c": 0.21766,
    "h": 309.8
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#8D2FC2
secondary
#9CCC81
accent
#E4447E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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