#8F35BF#8F35BF

#8F35BF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.209 H 311.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8F35BF
RGBrgb(143, 53, 191)
HSLhsl(279, 57%, 48%)
HSVhsv(279, 72%, 75%)
CMYKcmyk(25.1%, 72.3%, 0%, 25.1%)
CIE-LABlab(41.45, 59.38, -55.73)
CIE-LCHlch(41.45, 81.43, 316.82°)
OKLaboklab(52.16% 0.1369 -0.1577)
OKLCHoklch(52.16% 0.209 311)
XYZxyz(22.0030, 12.1480, 50.4658)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35BF #65BF35
analogous
#4A35BF #8F35BF #BF35AA
triadic
#8F35BF #BF8F35 #35BF8F
tetradic
#8F35BF #BF4A35 #65BF35 #35AABF
square
#8F35BF #BF4A35 #65BF35 #35AABF
split-complementary
#8F35BF #AABF35 #35BF4A
monochromatic
#471A5F #6B288F #8F35BF #AA5FD3 #C48FE0

Accessibility & contrast

On white

6.12
#8F35BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8F35BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35BF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35BF#FFFFFF#000000##FFFFFF
##8F35BF1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#895477
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f35bf;
/* rgb */ color: rgb(143, 53, 191);
/* oklch */ color: oklch(52.2% 0.209 311.0);
Tailwind
colors: {
  custom: {
    50: '#b474d3',
    500: '#8f35bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f35bf;
$custom-light: #b474d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35bf",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 279.13,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52164,
    "c": 0.20884,
    "h": 311
  },
  "luminance": 0.12147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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