#8F35C4#8F35C4

#8F35C4 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.214 H 309.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8F35C4
RGBrgb(143, 53, 196)
HSLhsl(278, 57%, 49%)
HSVhsv(278, 73%, 77%)
CMYKcmyk(27%, 73%, 0%, 23.1%)
CIE-LABlab(41.80, 60.45, -58.08)
CIE-LCHlch(41.80, 83.83, 316.15°)
OKLaboklab(52.52% 0.1362 -0.1646)
OKLCHoklch(52.52% 0.214 309.6)
XYZxyz(22.5626, 12.3718, 53.4133)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35C4 #6AC435
analogous
#4735C4 #8F35C4 #C435B2
triadic
#8F35C4 #C48F35 #35C48F
tetradic
#8F35C4 #C44735 #6AC435 #35B2C4
square
#8F35C4 #C44735 #6AC435 #35B2C4
split-complementary
#8F35C4 #B2C435 #35C447
monochromatic
#491B64 #6C2894 #8F35C4 #AA62D4 #C492E1

Accessibility & contrast

On white

6.04
#8F35C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8F35C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35C4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35C4#FFFFFF#000000##FFFFFF
##8F35C41.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#1164C1
Tritanopia (blue-blind)
#87567A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f35c4;
/* rgb */ color: rgb(143, 53, 196);
/* oklch */ color: oklch(52.5% 0.214 309.6);
Tailwind
colors: {
  custom: {
    50: '#b575d7',
    500: '#8f35c4',
    950: '#000000',
  },
}
SCSS
$custom: #8f35c4;
$custom-light: #b575d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35c4",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 277.762,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.21362,
    "h": 309.6
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#8F35C4
secondary
#A2CC88
accent
#E14780
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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