#8F35CA#8F35CA

#8F35CA is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.219 H 308.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8F35CA
RGBrgb(143, 53, 202)
HSLhsl(276, 58%, 50%)
HSVhsv(276, 74%, 79%)
CMYKcmyk(29.2%, 73.8%, 0%, 20.8%)
CIE-LABlab(42.23, 61.74, -60.87)
CIE-LCHlch(42.23, 86.70, 315.41°)
OKLaboklab(52.96% 0.1352 -0.1728)
OKLCHoklch(52.96% 0.219 308)
XYZxyz(23.2592, 12.6505, 57.0821)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35CA #70CA35
analogous
#4535CA #8F35CA #CA35BA
triadic
#8F35CA #CA8F35 #35CA8F
tetradic
#8F35CA #CA4535 #70CA35 #35BACA
square
#8F35CA #CA4535 #70CA35 #35BACA
split-complementary
#8F35CA #BACA35 #35CA45
monochromatic
#4A1C69 #6D289A #8F35CA #AA65D7 #C596E3

Accessibility & contrast

On white

5.95
#8F35CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8F35CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35CA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35CA#FFFFFF#000000##FFFFFF
##8F35CA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#86597D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f35ca;
/* rgb */ color: rgb(143, 53, 202);
/* oklch */ color: oklch(53.0% 0.219 308.0);
Tailwind
colors: {
  custom: {
    50: '#b575db',
    500: '#8f35ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f35ca;
$custom-light: #b575db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35ca",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 276.242,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.21937,
    "h": 308
  },
  "luminance": 0.1265
}

Semantic roles & 50–950 ramp

primary
#8F35CA
secondary
#A6CF8C
accent
#E24684
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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