#8D3EB7#8D3EB7

#8D3EB7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.189 H 311.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8D3EB7
RGBrgb(141, 62, 183)
HSLhsl(279, 49%, 48%)
HSVhsv(279, 66%, 72%)
CMYKcmyk(23%, 66.1%, 0%, 28.2%)
CIE-LABlab(42.04, 53.30, -50.09)
CIE-LCHlch(42.04, 73.14, 316.77°)
OKLaboklab(52.36% 0.1256 -0.1413)
OKLCHoklch(52.36% 0.189 311.6)
XYZxyz(21.2528, 12.5274, 46.0890)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EB7 #68B73E
analogous
#513EB7 #8D3EB7 #B73EA4
triadic
#8D3EB7 #B78D3E #3EB78D
tetradic
#8D3EB7 #B7513E #68B73E #3EA4B7
square
#8D3EB7 #B7513E #68B73E #3EA4B7
split-complementary
#8D3EB7 #A4B73E #3EB751
monochromatic
#471F5C #6A2F89 #8D3EB7 #A867CB #C294DB

Accessibility & contrast

On white

5.99
#8D3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8D3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EB7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EB7#FFFFFF#000000##FFFFFF
##8D3EB71.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#885675
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3eb7;
/* rgb */ color: rgb(141, 62, 183);
/* oklch */ color: oklch(52.4% 0.189 311.6);
Tailwind
colors: {
  custom: {
    50: '#b279cd',
    500: '#8d3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eb7;
$custom-light: #b279cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eb7",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 279.174,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.189,
    "h": 311.6
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#8D3EB7
secondary
#9FC68A
accent
#D94F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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