#8D3FC2#8D3FC2

#8D3FC2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.2% C 0.199 H 308.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8D3FC2
RGBrgb(141, 63, 194)
HSLhsl(276, 52%, 50%)
HSVhsv(276, 68%, 76%)
CMYKcmyk(27.3%, 67.5%, 0%, 23.9%)
CIE-LABlab(42.93, 55.27, -55.10)
CIE-LCHlch(42.93, 78.04, 315.09°)
OKLaboklab(53.23% 0.1235 -0.1559)
OKLCHoklch(53.23% 0.199 308.4)
XYZxyz(22.4976, 13.1131, 52.3744)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FC2 #74C23F
analogous
#4B3FC2 #8D3FC2 #C23FB6
triadic
#8D3FC2 #C28D3F #3FC28D
tetradic
#8D3FC2 #C24B3F #74C23F #3FB6C2
square
#8D3FC2 #C24B3F #74C23F #3FB6C2
split-complementary
#8D3FC2 #B6C23F #3FC24B
monochromatic
#4A2066 #6C2F95 #8D3FC2 #A96DD1 #C49CE0

Accessibility & contrast

On white

5.80
#8D3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8D3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FC2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FC2#FFFFFF#000000##FFFFFF
##8D3FC21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#2466BF
Tritanopia (blue-blind)
#855B7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d3fc2;
/* rgb */ color: rgb(141, 63, 194);
/* oklch */ color: oklch(53.2% 0.199 308.4);
Tailwind
colors: {
  custom: {
    50: '#b37ad5',
    500: '#8d3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fc2;
$custom-light: #b37ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fc2",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 275.725,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.19895,
    "h": 308.4
  },
  "luminance": 0.13113
}

Semantic roles & 50–950 ramp

primary
#8D3FC2
secondary
#A9CC91
accent
#DB4D86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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