#8F30C2#8F30C2

#8F30C2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.217 H 310.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8F30C2
RGBrgb(143, 48, 194)
HSLhsl(279, 60%, 47%)
HSVhsv(279, 75%, 76%)
CMYKcmyk(26.3%, 75.3%, 0%, 23.9%)
CIE-LABlab(40.98, 61.97, -58.25)
CIE-LCHlch(40.98, 85.05, 316.77°)
OKLaboklab(51.9% 0.1412 -0.165)
OKLCHoklch(51.9% 0.217 310.5)
XYZxyz(22.1204, 11.8491, 52.1503)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30C2 #63C230
analogous
#4630C2 #8F30C2 #C230AC
triadic
#8F30C2 #C28F30 #30C28F
tetradic
#8F30C2 #C24630 #63C230 #30ACC2
square
#8F30C2 #C24630 #63C230 #30ACC2
split-complementary
#8F30C2 #ACC230 #30C246
monochromatic
#471860 #6B2491 #8F30C2 #AA59D6 #C38AE2

Accessibility & contrast

On white

6.23
#8F30C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8F30C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30C2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30C2#FFFFFF#000000##FFFFFF
##8F30C21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0B62BF
Tritanopia (blue-blind)
#885377
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f30c2;
/* rgb */ color: rgb(143, 48, 194);
/* oklch */ color: oklch(51.9% 0.217 310.5);
Tailwind
colors: {
  custom: {
    50: '#b572d5',
    500: '#8f30c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f30c2;
$custom-light: #b572d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30c2",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 279.041,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.21718,
    "h": 310.5
  },
  "luminance": 0.11849
}

Semantic roles & 50–950 ramp

primary
#8F30C2
secondary
#9CCC82
accent
#E3447C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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