#8F319B#8F319B

#8F319B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.180 H 323.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8F319B
RGBrgb(143, 49, 155)
HSLhsl(293, 52%, 40%)
HSVhsv(293, 68%, 61%)
CMYKcmyk(7.7%, 68.4%, 0%, 39.2%)
CIE-LABlab(38.56, 53.77, -38.97)
CIE-LCHlch(38.56, 66.41, 324.07°)
OKLaboklab(49.36% 0.144 -0.1086)
OKLCHoklch(49.36% 0.18 323)
XYZxyz(18.3418, 10.4039, 32.0460)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F319B #3D9B31
analogous
#5A319B #8F319B #9B3172
triadic
#8F319B #9B8F31 #319B8F
tetradic
#8F319B #9B5A31 #3D9B31 #31729B
square
#8F319B #9B5A31 #3D9B31 #31729B
split-complementary
#8F319B #729B31 #319B5A
monochromatic
#39143E #64226D #8F319B #B645C4 #C873D3

Accessibility & contrast

On white

6.82
#8F319B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F319B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F319B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F319B#FFFFFF#000000##FFFFFF
##8F319B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#415E98
Tritanopia (blue-blind)
#914362
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f319b;
/* rgb */ color: rgb(143, 49, 155);
/* oklch */ color: oklch(49.4% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#b371b9',
    500: '#8f319b',
    950: '#000000',
  },
}
SCSS
$custom: #8f319b;
$custom-light: #b371b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f319b",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 293.208,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.49359,
    "c": 0.18035,
    "h": 323
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#8F319B
secondary
#76BB6D
accent
#DB4C5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F319B

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

Preview Lab → · Contrast checker → · Palette generator →

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