#8F35B2#8F35B2

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

Color values

HEX#8F35B2
RGBrgb(143, 53, 178)
HSLhsl(283, 54%, 45%)
HSVhsv(283, 70%, 70%)
CMYKcmyk(19.7%, 70.2%, 0%, 30.2%)
CIE-LABlab(40.57, 56.66, -49.49)
CIE-LCHlch(40.57, 75.23, 318.86°)
OKLaboklab(51.26% 0.1385 -0.1394)
OKLCHoklch(51.26% 0.196 314.8)
XYZxyz(20.6354, 11.6009, 43.2630)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35B2 #58B235
analogous
#5035B2 #8F35B2 #B23596
triadic
#8F35B2 #B28F35 #35B28F
tetradic
#8F35B2 #B25035 #58B235 #3596B2
square
#8F35B2 #B25035 #58B235 #3596B2
split-complementary
#8F35B2 #96B235 #35B250
monochromatic
#431954 #692783 #8F35B2 #AC57CD #C386DB

Accessibility & contrast

On white

6.33
#8F35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8F35B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35B2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35B2#FFFFFF#000000##FFFFFF
##8F35B21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3062AF
Tritanopia (blue-blind)
#8C4F70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f35b2;
/* rgb */ color: rgb(143, 53, 178);
/* oklch */ color: oklch(51.3% 0.196 314.8);
Tailwind
colors: {
  custom: {
    50: '#b474ca',
    500: '#8f35b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f35b2;
$custom-light: #b474ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35b2",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 283.2,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.19646,
    "h": 314.8
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#8F35B2
secondary
#92C57E
accent
#DD4A74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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