#8F30BD#8F30BD

#8F30BD is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.213 H 311.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8F30BD
RGBrgb(143, 48, 189)
HSLhsl(280, 59%, 46%)
HSVhsv(280, 75%, 74%)
CMYKcmyk(24.3%, 74.6%, 0%, 25.9%)
CIE-LABlab(40.62, 60.93, -55.90)
CIE-LCHlch(40.62, 82.68, 317.46°)
OKLaboklab(51.53% 0.142 -0.1582)
OKLCHoklch(51.53% 0.213 311.9)
XYZxyz(21.5683, 11.6283, 49.2426)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30BD #5EBD30
analogous
#4930BD #8F30BD #BD30A5
triadic
#8F30BD #BD8F30 #30BD8F
tetradic
#8F30BD #BD4930 #5EBD30 #30A5BD
square
#8F30BD #BD4930 #5EBD30 #30A5BD
split-complementary
#8F30BD #A5BD30 #30BD49
monochromatic
#45175B #6A248C #8F30BD #AB56D4 #C387E0

Accessibility & contrast

On white

6.31
#8F30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8F30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30BD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30BD#FFFFFF#000000##FFFFFF
##8F30BD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#895075
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f30bd;
/* rgb */ color: rgb(143, 48, 189);
/* oklch */ color: oklch(51.5% 0.213 311.9);
Tailwind
colors: {
  custom: {
    50: '#b472d2',
    500: '#8f30bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f30bd;
$custom-light: #b472d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30bd",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 280.426,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.21256,
    "h": 311.9
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#8F30BD
secondary
#97CA7F
accent
#E34579
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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