#8D2FC5#8D2FC5

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

Color values

HEX#8D2FC5
RGBrgb(141, 47, 197)
HSLhsl(278, 61%, 48%)
HSVhsv(278, 76%, 77%)
CMYKcmyk(28.4%, 76.1%, 0%, 22.7%)
CIE-LABlab(40.78, 62.61, -60.33)
CIE-LCHlch(40.78, 86.95, 316.06°)
OKLaboklab(51.77% 0.1388 -0.1712)
OKLCHoklch(51.77% 0.22 309)
XYZxyz(22.0770, 11.7274, 53.9131)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FC5 #67C52F
analogous
#422FC5 #8D2FC5 #C52FB2
triadic
#8D2FC5 #C58D2F #2FC58D
tetradic
#8D2FC5 #C5422F #67C52F #2FB2C5
square
#8D2FC5 #C5422F #67C52F #2FB2C5
split-complementary
#8D2FC5 #B2C52F #2FC542
monochromatic
#461762 #6A2394 #8D2FC5 #A95AD8 #C28BE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2FC5#FFFFFF#000000##FFFFFF
##8D2FC51.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#845479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d2fc5;
/* rgb */ color: rgb(141, 47, 197);
/* oklch */ color: oklch(51.8% 0.220 309.0);
Tailwind
colors: {
  custom: {
    50: '#b472d7',
    500: '#8d2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fc5;
$custom-light: #b472d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fc5",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 277.6,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.22044,
    "h": 309
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#8D2FC5
secondary
#9ECD82
accent
#E5437F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8D2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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