#8F35CF#8F35CF

#8F35CF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.224 H 306.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F35CF
RGBrgb(143, 53, 207)
HSLhsl(275, 62%, 51%)
HSVhsv(275, 74%, 81%)
CMYKcmyk(30.9%, 74.4%, 0%, 18.8%)
CIE-LABlab(42.60, 62.84, -63.16)
CIE-LCHlch(42.60, 89.10, 314.85°)
OKLaboklab(53.34% 0.1342 -0.1795)
OKLCHoklch(53.34% 0.224 306.8)
XYZxyz(23.8608, 12.8911, 60.2506)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35CF #75CF35
analogous
#4235CF #8F35CF #CF35C2
triadic
#8F35CF #CF8F35 #35CF8F
tetradic
#8F35CF #CF4235 #75CF35 #35C2CF
square
#8F35CF #CF4235 #75CF35 #35C2CF
split-complementary
#8F35CF #C2CF35 #35CF42
monochromatic
#4C1A6F #6E26A1 #8F35CF #AA66DB #C698E7

Accessibility & contrast

On white

5.87
#8F35CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8F35CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35CF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35CF#FFFFFF#000000##FFFFFF
##8F35CF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#845B80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f35cf;
/* rgb */ color: rgb(143, 53, 207);
/* oklch */ color: oklch(53.3% 0.224 306.8);
Tailwind
colors: {
  custom: {
    50: '#b575df',
    500: '#8f35cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f35cf;
$custom-light: #b575df;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35cf",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 275.065,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.22416,
    "h": 306.8
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#8F35CF
secondary
#AAD28E
accent
#E54386
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F35CF

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

Preview Lab → · Contrast checker → · Palette generator →

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