#8F30C3#8F30C3

#8F30C3 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.218 H 310.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8F30C3
RGBrgb(143, 48, 195)
HSLhsl(279, 60%, 48%)
HSVhsv(279, 75%, 76%)
CMYKcmyk(26.7%, 75.4%, 0%, 23.5%)
CIE-LABlab(41.05, 62.18, -58.71)
CIE-LCHlch(41.05, 85.52, 316.64°)
OKLaboklab(51.97% 0.141 -0.1664)
OKLCHoklch(51.97% 0.218 310.3)
XYZxyz(22.2330, 11.8942, 52.7438)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30C3 #64C330
analogous
#4630C3 #8F30C3 #C330AD
triadic
#8F30C3 #C38F30 #30C38F
tetradic
#8F30C3 #C34630 #64C330 #30ADC3
square
#8F30C3 #C34630 #64C330 #30ADC3
split-complementary
#8F30C3 #ADC330 #30C346
monochromatic
#471861 #6B2492 #8F30C3 #AA5AD6 #C38BE2

Accessibility & contrast

On white

6.22
#8F30C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8F30C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30C3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30C3#FFFFFF#000000##FFFFFF
##8F30C31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0662C0
Tritanopia (blue-blind)
#885378
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f30c3;
/* rgb */ color: rgb(143, 48, 195);
/* oklch */ color: oklch(52.0% 0.218 310.3);
Tailwind
colors: {
  custom: {
    50: '#b572d6',
    500: '#8f30c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f30c3;
$custom-light: #b572d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30c3",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 278.776,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.21812,
    "h": 310.3
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#8F30C3
secondary
#9DCC82
accent
#E4447D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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