#8F30B6#8F30B6

#8F30B6 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.206 H 314.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8F30B6
RGBrgb(143, 48, 182)
HSLhsl(283, 58%, 45%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(21.4%, 73.6%, 0%, 28.6%)
CIE-LABlab(40.13, 59.48, -52.56)
CIE-LCHlch(40.13, 79.38, 318.53°)
OKLaboklab(51.03% 0.1431 -0.1484)
OKLCHoklch(51.03% 0.206 314)
XYZxyz(20.8267, 11.3316, 45.3370)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30B6 #57B630
analogous
#4C30B6 #8F30B6 #B6309A
triadic
#8F30B6 #B68F30 #30B68F
tetradic
#8F30B6 #B64C30 #57B630 #309AB6
square
#8F30B6 #B64C30 #57B630 #309AB6
split-complementary
#8F30B6 #9AB630 #30B64C
monochromatic
#431655 #692386 #8F30B6 #AC52D1 #C382DE

Accessibility & contrast

On white

6.43
#8F30B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8F30B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30B6
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30B6#FFFFFF#000000##FFFFFF
##8F30B61.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#2661B3
Tritanopia (blue-blind)
#8B4D71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f30b6;
/* rgb */ color: rgb(143, 48, 182);
/* oklch */ color: oklch(51.0% 0.206 314.0);
Tailwind
colors: {
  custom: {
    50: '#b472cd',
    500: '#8f30b6',
    950: '#000000',
  },
}
SCSS
$custom: #8f30b6;
$custom-light: #b472cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30b6",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 282.537,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51033,
    "c": 0.2061,
    "h": 314
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#8F30B6
secondary
#91C77B
accent
#E14673
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F30B6

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

Preview Lab → · Contrast checker → · Palette generator →

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