#8F30BA#8F30BA

#8F30BA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.210 H 312.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8F30BA
RGBrgb(143, 48, 186)
HSLhsl(281, 59%, 46%)
HSVhsv(281, 74%, 73%)
CMYKcmyk(23.1%, 74.2%, 0%, 27.1%)
CIE-LABlab(40.41, 60.30, -54.48)
CIE-LCHlch(40.41, 81.27, 317.91°)
OKLaboklab(51.32% 0.1425 -0.154)
OKLCHoklch(51.32% 0.21 312.8)
XYZxyz(21.2460, 11.4993, 47.5453)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30BA #5BBA30
analogous
#4A30BA #8F30BA #BA30A0
triadic
#8F30BA #BA8F30 #30BA8F
tetradic
#8F30BA #BA4A30 #5BBA30 #30A0BA
square
#8F30BA #BA4A30 #5BBA30 #30A0BA
split-complementary
#8F30BA #A0BA30 #30BA4A
monochromatic
#441759 #6A2389 #8F30BA #AB54D3 #C385DF

Accessibility & contrast

On white

6.36
#8F30BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8F30BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30BA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30BA#FFFFFF#000000##FFFFFF
##8F30BA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2061B7
Tritanopia (blue-blind)
#8A4F73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f30ba;
/* rgb */ color: rgb(143, 48, 186);
/* oklch */ color: oklch(51.3% 0.210 312.8);
Tailwind
colors: {
  custom: {
    50: '#b472cf',
    500: '#8f30ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f30ba;
$custom-light: #b472cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30ba",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 281.304,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.20979,
    "h": 312.8
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#8F30BA
secondary
#95C97D
accent
#E24676
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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