#8F35AF#8F35AF

#8F35AF is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.194 H 315.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8F35AF
RGBrgb(143, 53, 175)
HSLhsl(284, 54%, 45%)
HSVhsv(284, 70%, 69%)
CMYKcmyk(18.3%, 69.7%, 0%, 31.4%)
CIE-LABlab(40.38, 56.04, -48.03)
CIE-LCHlch(40.38, 73.80, 319.40°)
OKLaboklab(51.06% 0.1387 -0.1351)
OKLCHoklch(51.06% 0.194 315.8)
XYZxyz(20.3374, 11.4818, 41.6940)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35AF #55AF35
analogous
#5235AF #8F35AF #AF3592
triadic
#8F35AF #AF8F35 #35AF8F
tetradic
#8F35AF #AF5235 #55AF35 #3592AF
square
#8F35AF #AF5235 #55AF35 #3592AF
split-complementary
#8F35AF #92AF35 #35AF52
monochromatic
#421951 #692780 #8F35AF #AD56CC #C385DA

Accessibility & contrast

On white

6.37
#8F35AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8F35AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35AF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35AF#FFFFFF#000000##FFFFFF
##8F35AF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#8D4D6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f35af;
/* rgb */ color: rgb(143, 53, 175);
/* oklch */ color: oklch(51.1% 0.194 315.8);
Tailwind
colors: {
  custom: {
    50: '#b374c7',
    500: '#8f35af',
    950: '#000000',
  },
}
SCSS
$custom: #8f35af;
$custom-light: #b374c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35af",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 284.262,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51062,
    "c": 0.19363,
    "h": 315.8
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#8F35AF
secondary
#8FC47C
accent
#DD4B71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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