#8F35C8#8F35C8

#8F35C8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.217 H 308.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8F35C8
RGBrgb(143, 53, 200)
HSLhsl(277, 58%, 50%)
HSVhsv(277, 74%, 78%)
CMYKcmyk(28.5%, 73.5%, 0%, 21.6%)
CIE-LABlab(42.09, 61.31, -59.94)
CIE-LCHlch(42.09, 85.74, 315.65°)
OKLaboklab(52.82% 0.1355 -0.1701)
OKLCHoklch(52.82% 0.217 308.6)
XYZxyz(23.0240, 12.5564, 55.8431)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35C8 #6EC835
analogous
#4635C8 #8F35C8 #C835B8
triadic
#8F35C8 #C88F35 #35C88F
tetradic
#8F35C8 #C84635 #6EC835 #35B8C8
square
#8F35C8 #C84635 #6EC835 #35B8C8
split-complementary
#8F35C8 #B8C835 #35C846
monochromatic
#4A1B67 #6C2898 #8F35C8 #AA64D6 #C495E3

Accessibility & contrast

On white

5.98
#8F35C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8F35C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35C8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35C8#FFFFFF#000000##FFFFFF
##8F35C81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#86587C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f35c8;
/* rgb */ color: rgb(143, 53, 200);
/* oklch */ color: oklch(52.8% 0.217 308.6);
Tailwind
colors: {
  custom: {
    50: '#b575da',
    500: '#8f35c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f35c8;
$custom-light: #b575da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35c8",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 276.735,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.21745,
    "h": 308.6
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#8F35C8
secondary
#A5CE8B
accent
#E14683
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F35C8

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

Preview Lab → · Contrast checker → · Palette generator →

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