#8D3EC2#8D3EC2

#8D3EC2 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.200 H 308.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8D3EC2
RGBrgb(141, 62, 194)
HSLhsl(276, 52%, 50%)
HSVhsv(276, 68%, 76%)
CMYKcmyk(27.3%, 68%, 0%, 23.9%)
CIE-LABlab(42.77, 55.73, -55.36)
CIE-LCHlch(42.77, 78.55, 315.19°)
OKLaboklab(53.11% 0.1246 -0.1567)
OKLCHoklch(53.11% 0.2 308.5)
XYZxyz(22.4427, 13.0034, 52.3561)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EC2 #73C23E
analogous
#4B3EC2 #8D3EC2 #C23EB5
triadic
#8D3EC2 #C28D3E #3EC28D
tetradic
#8D3EC2 #C24B3E #73C23E #3EB5C2
square
#8D3EC2 #C24B3E #73C23E #3EB5C2
split-complementary
#8D3EC2 #B5C23E #3EC24B
monochromatic
#4A2066 #6B2F94 #8D3EC2 #A86DD1 #C49BDF

Accessibility & contrast

On white

5.83
#8D3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8D3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EC2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EC2#FFFFFF#000000##FFFFFF
##8D3EC21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d3ec2;
/* rgb */ color: rgb(141, 62, 194);
/* oklch */ color: oklch(53.1% 0.200 308.5);
Tailwind
colors: {
  custom: {
    50: '#b379d5',
    500: '#8d3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ec2;
$custom-light: #b379d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ec2",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 275.909,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.20024,
    "h": 308.5
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#8D3EC2
secondary
#A8CB90
accent
#DB4C86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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