#8D2FC8#8D2FC8

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

Color values

HEX#8D2FC8
RGBrgb(141, 47, 200)
HSLhsl(277, 62%, 48%)
HSVhsv(277, 77%, 78%)
CMYKcmyk(29.5%, 76.5%, 0%, 21.6%)
CIE-LABlab(41.00, 63.25, -61.71)
CIE-LCHlch(41.00, 88.37, 315.71°)
OKLaboklab(51.99% 0.1382 -0.1753)
OKLCHoklch(51.99% 0.223 308.3)
XYZxyz(22.4242, 11.8662, 55.7415)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FC8 #6AC82F
analogous
#412FC8 #8D2FC8 #C82FB6
triadic
#8D2FC8 #C88D2F #2FC88D
tetradic
#8D2FC8 #C8412F #6AC82F #2FB6C8
square
#8D2FC8 #C8412F #6AC82F #2FB6C8
split-complementary
#8D2FC8 #B6C82F #2FC841
monochromatic
#471865 #6A2396 #8D2FC8 #A85CD9 #C38DE4

Accessibility & contrast

On white

6.23
#8D2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8D2FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FC8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FC8#FFFFFF#000000##FFFFFF
##8D2FC81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#84557B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d2fc8;
/* rgb */ color: rgb(141, 47, 200);
/* oklch */ color: oklch(52.0% 0.223 308.3);
Tailwind
colors: {
  custom: {
    50: '#b472da',
    500: '#8d2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fc8;
$custom-light: #b472da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fc8",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 276.863,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.22323,
    "h": 308.3
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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