#8F35B3#8F35B3

#8F35B3 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.197 H 314.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8F35B3
RGBrgb(143, 53, 179)
HSLhsl(283, 54%, 45%)
HSVhsv(283, 70%, 70%)
CMYKcmyk(20.1%, 70.4%, 0%, 29.8%)
CIE-LABlab(40.64, 56.86, -49.98)
CIE-LCHlch(40.64, 75.70, 318.69°)
OKLaboklab(51.33% 0.1384 -0.1408)
OKLCHoklch(51.33% 0.197 314.5)
XYZxyz(20.7361, 11.6412, 43.7938)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35B3 #59B335
analogous
#5035B3 #8F35B3 #B33598
triadic
#8F35B3 #B38F35 #35B38F
tetradic
#8F35B3 #B35035 #59B335 #3598B3
square
#8F35B3 #B35035 #59B335 #3598B3
split-complementary
#8F35B3 #98B335 #35B350
monochromatic
#441955 #692784 #8F35B3 #AC58CD #C387DB

Accessibility & contrast

On white

6.31
#8F35B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8F35B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35B3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35B3#FFFFFF#000000##FFFFFF
##8F35B31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#2F62B0
Tritanopia (blue-blind)
#8C4F70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f35b3;
/* rgb */ color: rgb(143, 53, 179);
/* oklch */ color: oklch(51.3% 0.197 314.5);
Tailwind
colors: {
  custom: {
    50: '#b474ca',
    500: '#8f35b3',
    950: '#000000',
  },
}
SCSS
$custom: #8f35b3;
$custom-light: #b474ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35b3",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 282.857,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.19742,
    "h": 314.5
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#8F35B3
secondary
#93C57F
accent
#DE4A74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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