#8F35C0#8F35C0

#8F35C0 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.210 H 310.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8F35C0
RGBrgb(143, 53, 192)
HSLhsl(279, 57%, 48%)
HSVhsv(279, 72%, 75%)
CMYKcmyk(25.5%, 72.4%, 0%, 24.7%)
CIE-LABlab(41.52, 59.59, -56.20)
CIE-LCHlch(41.52, 81.91, 316.68°)
OKLaboklab(52.24% 0.1368 -0.1591)
OKLCHoklch(52.24% 0.21 310.7)
XYZxyz(22.1134, 12.1921, 51.0474)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35C0 #66C035
analogous
#4935C0 #8F35C0 #C035AB
triadic
#8F35C0 #C08F35 #35C08F
tetradic
#8F35C0 #C04935 #66C035 #35ABC0
square
#8F35C0 #C04935 #66C035 #35ABC0
split-complementary
#8F35C0 #ABC035 #35C049
monochromatic
#481B60 #6B2890 #8F35C0 #AA5FD3 #C48FE0

Accessibility & contrast

On white

6.11
#8F35C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8F35C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35C0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35C0#FFFFFF#000000##FFFFFF
##8F35C01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#1C63BD
Tritanopia (blue-blind)
#885477
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f35c0;
/* rgb */ color: rgb(143, 53, 192);
/* oklch */ color: oklch(52.2% 0.210 310.7);
Tailwind
colors: {
  custom: {
    50: '#b475d4',
    500: '#8f35c0',
    950: '#000000',
  },
}
SCSS
$custom: #8f35c0;
$custom-light: #b475d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35c0",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 278.849,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52236,
    "c": 0.2098,
    "h": 310.7
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#8F35C0
secondary
#9ECB86
accent
#E0487D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F35C0

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

Preview Lab → · Contrast checker → · Palette generator →

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