#8F35D3#8F35D3

#8F35D3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.6% C 0.228 H 305.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8F35D3
RGBrgb(143, 53, 211)
HSLhsl(274, 64%, 52%)
HSVhsv(274, 75%, 83%)
CMYKcmyk(32.2%, 74.9%, 0%, 17.3%)
CIE-LABlab(42.90, 63.72, -64.99)
CIE-LCHlch(42.90, 91.01, 314.44°)
OKLaboklab(53.64% 0.1334 -0.1849)
OKLCHoklch(53.64% 0.228 305.8)
XYZxyz(24.3561, 13.0892, 62.8587)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35D3 #79D335
analogous
#4035D3 #8F35D3 #D335C8
triadic
#8F35D3 #D38F35 #35D38F
tetradic
#8F35D3 #D34035 #79D335 #35C8D3
square
#8F35D3 #D34035 #79D335 #35C8D3
split-complementary
#8F35D3 #C8D335 #35D340
monochromatic
#4D1974 #6E24A7 #8F35D3 #AB67DE #C79AE9

Accessibility & contrast

On white

5.80
#8F35D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F35D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35D3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35D3#FFFFFF#000000##FFFFFF
##8F35D31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#835C82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f35d3;
/* rgb */ color: rgb(143, 53, 211);
/* oklch */ color: oklch(53.6% 0.228 305.8);
Tailwind
colors: {
  custom: {
    50: '#b675e1',
    500: '#8f35d3',
    950: '#000000',
  },
}
SCSS
$custom: #8f35d3;
$custom-light: #b675e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35d3",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 211
  },
  "hsl": {
    "h": 274.177,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.228,
    "h": 305.8
  },
  "luminance": 0.13089
}

Semantic roles & 50–950 ramp

primary
#8F35D3
secondary
#ADD58F
accent
#E74188
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F35D3

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

Preview Lab → · Contrast checker → · Palette generator →

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