#8F30C4#8F30C4

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

Color values

HEX#8F30C4
RGBrgb(143, 48, 196)
HSLhsl(279, 61%, 48%)
HSVhsv(279, 76%, 77%)
CMYKcmyk(27%, 75.5%, 0%, 23.1%)
CIE-LABlab(41.12, 62.39, -59.18)
CIE-LCHlch(41.12, 86.00, 316.51°)
OKLaboklab(52.04% 0.1408 -0.1678)
OKLCHoklch(52.04% 0.219 310)
XYZxyz(22.3465, 11.9395, 53.3412)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30C4 #65C430
analogous
#4530C4 #8F30C4 #C430AF
triadic
#8F30C4 #C48F30 #30C48F
tetradic
#8F30C4 #C44530 #65C430 #30AFC4
square
#8F30C4 #C44530 #65C430 #30AFC4
split-complementary
#8F30C4 #AFC430 #30C445
monochromatic
#471862 #6B2493 #8F30C4 #AA5AD7 #C48CE3

Accessibility & contrast

On white

6.20
#8F30C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8F30C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30C4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30C4#FFFFFF#000000##FFFFFF
##8F30C41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0262C1
Tritanopia (blue-blind)
#875378
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f30c4;
/* rgb */ color: rgb(143, 48, 196);
/* oklch */ color: oklch(52.0% 0.219 310.0);
Tailwind
colors: {
  custom: {
    50: '#b572d7',
    500: '#8f30c4',
    950: '#000000',
  },
}
SCSS
$custom: #8f30c4;
$custom-light: #b572d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30c4",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 278.514,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.21904,
    "h": 310
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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