#8F35D8#8F35D8

#8F35D8 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.0% C 0.233 H 304.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8F35D8
RGBrgb(143, 53, 216)
HSLhsl(273, 68%, 53%)
HSVhsv(273, 75%, 85%)
CMYKcmyk(33.8%, 75.5%, 0%, 15.3%)
CIE-LABlab(43.28, 64.82, -67.24)
CIE-LCHlch(43.28, 93.40, 313.95°)
OKLaboklab(54.03% 0.1323 -0.1915)
OKLCHoklch(54.03% 0.233 304.6)
XYZxyz(24.9926, 13.3438, 66.2114)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35D8 #7ED835
analogous
#3D35D8 #8F35D8 #D835CF
triadic
#8F35D8 #D88F35 #35D88F
tetradic
#8F35D8 #D83D35 #7ED835 #35CFD8
square
#8F35D8 #D83D35 #7ED835 #35CFD8
split-complementary
#8F35D8 #CFD835 #35D83D
monochromatic
#4E187B #6F22AE #8F35D8 #AB68E2 #C89CEC

Accessibility & contrast

On white

5.72
#8F35D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8F35D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35D8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35D8#FFFFFF#000000##FFFFFF
##8F35D81.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#815E85
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f35d8;
/* rgb */ color: rgb(143, 53, 216);
/* oklch */ color: oklch(54.0% 0.233 304.6);
Tailwind
colors: {
  custom: {
    50: '#b676e5',
    500: '#8f35d8',
    950: '#000000',
  },
}
SCSS
$custom: #8f35d8;
$custom-light: #b676e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35d8",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 216
  },
  "hsl": {
    "h": 273.129,
    "s": 67.635,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.2328,
    "h": 304.6
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#8F35D8
secondary
#B1D891
accent
#EB3D8B
background
#FBF7FE
surface
#F7EDFC
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F35D8

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

Preview Lab → · Contrast checker → · Palette generator →

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