#8D3FB7#8D3FB7

#8D3FB7 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.188 H 311.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D3FB7
RGBrgb(141, 63, 183)
HSLhsl(279, 49%, 48%)
HSVhsv(279, 66%, 72%)
CMYKcmyk(23%, 65.6%, 0%, 28.2%)
CIE-LABlab(42.21, 52.83, -49.82)
CIE-LCHlch(42.21, 72.62, 316.68°)
OKLaboklab(52.48% 0.1244 -0.1405)
OKLCHoklch(52.48% 0.188 311.5)
XYZxyz(21.3077, 12.6372, 46.1073)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3FB7 #69B73F
analogous
#513FB7 #8D3FB7 #B73FA5
triadic
#8D3FB7 #B78D3F #3FB78D
tetradic
#8D3FB7 #B7513F #69B73F #3FA5B7
square
#8D3FB7 #B7513F #69B73F #3FA5B7
split-complementary
#8D3FB7 #A5B73F #3FB751
monochromatic
#47205C #6A2F89 #8D3FB7 #A868CB #C396DB

Accessibility & contrast

On white

5.95
#8D3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8D3FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3FB7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3FB7#FFFFFF#000000##FFFFFF
##8D3FB71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3365B4
Tritanopia (blue-blind)
#885776
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3fb7;
/* rgb */ color: rgb(141, 63, 183);
/* oklch */ color: oklch(52.5% 0.188 311.5);
Tailwind
colors: {
  custom: {
    50: '#b279cd',
    500: '#8d3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #8d3fb7;
$custom-light: #b279cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3fb7",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 279,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52481,
    "c": 0.18765,
    "h": 311.5
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#8D3FB7
secondary
#A0C68B
accent
#D84F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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