#8D3FB9#8D3FB9

#8D3FB9 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.190 H 310.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8D3FB9
RGBrgb(141, 63, 185)
HSLhsl(278, 49%, 49%)
HSVhsv(278, 66%, 73%)
CMYKcmyk(23.8%, 65.9%, 0%, 27.5%)
CIE-LABlab(42.34, 53.27, -50.79)
CIE-LCHlch(42.34, 73.60, 316.36°)
OKLaboklab(52.62% 0.1243 -0.1433)
OKLCHoklch(52.62% 0.19 310.9)
XYZxyz(21.5173, 12.7210, 47.2114)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FB9 #6BB93F
analogous
#503FB9 #8D3FB9 #B93FA8
triadic
#8D3FB9 #B98D3F #3FB98D
tetradic
#8D3FB9 #B9503F #6BB93F #3FA8B9
square
#8D3FB9 #B9503F #6BB93F #3FA8B9
split-complementary
#8D3FB9 #A8B93F #3FB950
monochromatic
#47205E #6A2F8B #8D3FB9 #A869CC #C397DC

Accessibility & contrast

On white

5.93
#8D3FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8D3FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FB9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FB9#FFFFFF#000000##FFFFFF
##8D3FB91.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#875877
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3fb9;
/* rgb */ color: rgb(141, 63, 185);
/* oklch */ color: oklch(52.6% 0.190 310.9);
Tailwind
colors: {
  custom: {
    50: '#b279cf',
    500: '#8d3fb9',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fb9;
$custom-light: #b279cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fb9",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 278.361,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.1897,
    "h": 310.9
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#8D3FB9
secondary
#A2C78D
accent
#D94F81
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D3FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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