#8F30B5#8F30B5

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

Color values

HEX#8F30B5
RGBrgb(143, 48, 181)
HSLhsl(283, 58%, 45%)
HSVhsv(283, 73%, 71%)
CMYKcmyk(21%, 73.5%, 0%, 29%)
CIE-LABlab(40.07, 59.28, -52.08)
CIE-LCHlch(40.07, 78.91, 318.70°)
OKLaboklab(50.96% 0.1432 -0.1469)
OKLCHoklch(50.96% 0.205 314.3)
XYZxyz(20.7237, 11.2904, 44.7947)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30B5 #56B530
analogous
#4C30B5 #8F30B5 #B53099
triadic
#8F30B5 #B58F30 #30B58F
tetradic
#8F30B5 #B54C30 #56B530 #3099B5
square
#8F30B5 #B54C30 #56B530 #3099B5
split-complementary
#8F30B5 #99B530 #30B54C
monochromatic
#431654 #692385 #8F30B5 #AC51D1 #C382DE

Accessibility & contrast

On white

6.45
#8F30B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8F30B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30B5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30B5#FFFFFF#000000##FFFFFF
##8F30B51.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2861B2
Tritanopia (blue-blind)
#8B4D70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f30b5;
/* rgb */ color: rgb(143, 48, 181);
/* oklch */ color: oklch(51.0% 0.205 314.3);
Tailwind
colors: {
  custom: {
    50: '#b472cc',
    500: '#8f30b5',
    950: '#000000',
  },
}
SCSS
$custom: #8f30b5;
$custom-light: #b472cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30b5",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 282.857,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.20518,
    "h": 314.3
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#8F30B5
secondary
#90C77A
accent
#E14673
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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