#8F30BE#8F30BE

#8F30BE is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.213 H 311.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8F30BE
RGBrgb(143, 48, 190)
HSLhsl(280, 60%, 47%)
HSVhsv(280, 75%, 75%)
CMYKcmyk(24.7%, 74.7%, 0%, 25.5%)
CIE-LABlab(40.69, 61.13, -56.37)
CIE-LCHlch(40.69, 83.16, 317.32°)
OKLaboklab(51.6% 0.1419 -0.1595)
OKLCHoklch(51.6% 0.213 311.6)
XYZxyz(21.6772, 11.6718, 49.8162)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30BE #5FBE30
analogous
#4830BE #8F30BE #BE30A6
triadic
#8F30BE #BE8F30 #30BE8F
tetradic
#8F30BE #BE4830 #5FBE30 #30A6BE
square
#8F30BE #BE4830 #5FBE30 #30A6BE
split-complementary
#8F30BE #A6BE30 #30BE48
monochromatic
#45175C #6A248D #8F30BE #AB57D4 #C388E1

Accessibility & contrast

On white

6.30
#8F30BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F30BE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30BE#FFFFFF#000000##FFFFFF
##8F30BE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#895175
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f30be;
/* rgb */ color: rgb(143, 48, 190);
/* oklch */ color: oklch(51.6% 0.213 311.6);
Tailwind
colors: {
  custom: {
    50: '#b472d2',
    500: '#8f30be',
    950: '#000000',
  },
}
SCSS
$custom: #8f30be;
$custom-light: #b472d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30be",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 280.141,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.21349,
    "h": 311.6
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#8F30BE
secondary
#98CB7F
accent
#E34579
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F30BE

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

Preview Lab → · Contrast checker → · Palette generator →

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