#8F3DB9#8F3DB9

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

Color values

HEX#8F3DB9
RGBrgb(143, 61, 185)
HSLhsl(280, 50%, 48%)
HSVhsv(280, 67%, 73%)
CMYKcmyk(22.7%, 67%, 0%, 27.5%)
CIE-LABlab(42.28, 54.64, -50.88)
CIE-LCHlch(42.28, 74.66, 317.04°)
OKLaboklab(52.63% 0.1291 -0.1435)
OKLCHoklch(52.63% 0.193 312)
XYZxyz(21.7518, 12.6805, 47.1913)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DB9 #67B93D
analogous
#513DB9 #8F3DB9 #B93DA5
triadic
#8F3DB9 #B98F3D #3DB98F
tetradic
#8F3DB9 #B9513D #67B93D #3DA5B9
square
#8F3DB9 #B9513D #67B93D #3DA5B9
split-complementary
#8F3DB9 #A5B93D #3DB951
monochromatic
#481F5D #6B2E8B #8F3DB9 #AA66CD #C495DC

Accessibility & contrast

On white

5.94
#8F3DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3DB9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DB9#FFFFFF#000000##FFFFFF
##8F3DB91.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#3165B6
Tritanopia (blue-blind)
#8A5676
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3db9;
/* rgb */ color: rgb(143, 61, 185);
/* oklch */ color: oklch(52.6% 0.193 312.0);
Tailwind
colors: {
  custom: {
    50: '#b478cf',
    500: '#8f3db9',
    950: '#000000',
  },
}
SCSS
$custom: #8f3db9;
$custom-light: #b478cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3db9",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 279.677,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52627,
    "c": 0.19305,
    "h": 312
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#8F3DB9
secondary
#9FC78B
accent
#DA4E7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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