#8F35A2#8F35A2

#8F35A2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.181 H 320.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F35A2
RGBrgb(143, 53, 162)
HSLhsl(290, 51%, 42%)
HSVhsv(290, 67%, 64%)
CMYKcmyk(11.7%, 67.3%, 0%, 36.5%)
CIE-LABlab(39.57, 53.44, -41.57)
CIE-LCHlch(39.57, 67.70, 322.12°)
OKLaboklab(50.22% 0.1394 -0.1162)
OKLCHoklch(50.22% 0.181 320.2)
XYZxyz(19.1216, 10.9954, 35.2905)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35A2 #48A235
analogous
#5835A2 #8F35A2 #A2357F
triadic
#8F35A2 #A28F35 #35A28F
tetradic
#8F35A2 #A25835 #48A235 #357FA2
square
#8F35A2 #A25835 #48A235 #357FA2
split-complementary
#8F35A2 #7FA235 #35A258
monochromatic
#3E1746 #662674 #8F35A2 #B14FC5 #C57DD4

Accessibility & contrast

On white

6.56
#8F35A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8F35A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35A2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35A2#FFFFFF#000000##FFFFFF
##8F35A21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1057A5
Deuteranopia (green-blind)
#3F609F
Tritanopia (blue-blind)
#904867
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f35a2;
/* rgb */ color: rgb(143, 53, 162);
/* oklch */ color: oklch(50.2% 0.181 320.2);
Tailwind
colors: {
  custom: {
    50: '#b373be',
    500: '#8f35a2',
    950: '#000000',
  },
}
SCSS
$custom: #8f35a2;
$custom-light: #b373be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35a2",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 289.541,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.18145,
    "h": 320.2
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#8F35A2
secondary
#82BD75
accent
#DA4E66
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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