#8F35CC#8F35CC

#8F35CC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.1% C 0.221 H 307.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8F35CC
RGBrgb(143, 53, 204)
HSLhsl(276, 60%, 50%)
HSVhsv(276, 74%, 80%)
CMYKcmyk(29.9%, 74%, 0%, 20%)
CIE-LABlab(42.38, 62.18, -61.79)
CIE-LCHlch(42.38, 87.66, 315.18°)
OKLaboklab(53.11% 0.1348 -0.1755)
OKLCHoklch(53.11% 0.221 307.5)
XYZxyz(23.4976, 12.7458, 58.3374)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35CC #72CC35
analogous
#4435CC #8F35CC #CC35BD
triadic
#8F35CC #CC8F35 #35CC8F
tetradic
#8F35CC #CC4435 #72CC35 #35BDCC
square
#8F35CC #CC4435 #72CC35 #35BDCC
split-complementary
#8F35CC #BDCC35 #35CC44
monochromatic
#4B1B6B #6D279C #8F35CC #AA66D8 #C597E5

Accessibility & contrast

On white

5.92
#8F35CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8F35CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35CC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35CC#FFFFFF#000000##FFFFFF
##8F35CC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#85597E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f35cc;
/* rgb */ color: rgb(143, 53, 204);
/* oklch */ color: oklch(53.1% 0.221 307.5);
Tailwind
colors: {
  custom: {
    50: '#b575dc',
    500: '#8f35cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f35cc;
$custom-light: #b575dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35cc",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 275.762,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53113,
    "c": 0.22129,
    "h": 307.5
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#8F35CC
secondary
#A8D08D
accent
#E34585
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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