#8F30BB#8F30BB

#8F30BB is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.211 H 312.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8F30BB
RGBrgb(143, 48, 187)
HSLhsl(281, 59%, 46%)
HSVhsv(281, 74%, 73%)
CMYKcmyk(23.5%, 74.3%, 0%, 26.7%)
CIE-LABlab(40.48, 60.51, -54.95)
CIE-LCHlch(40.48, 81.74, 317.76°)
OKLaboklab(51.39% 0.1423 -0.1554)
OKLCHoklch(51.39% 0.211 312.5)
XYZxyz(21.3527, 11.5420, 48.1071)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30BB #5CBB30
analogous
#4930BB #8F30BB #BB30A1
triadic
#8F30BB #BB8F30 #30BB8F
tetradic
#8F30BB #BB4930 #5CBB30 #30A1BB
square
#8F30BB #BB4930 #5CBB30 #30A1BB
split-complementary
#8F30BB #A1BB30 #30BB49
monochromatic
#45175A #6A238A #8F30BB #AB55D3 #C386E0

Accessibility & contrast

On white

6.35
#8F30BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8F30BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30BB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30BB#FFFFFF#000000##FFFFFF
##8F30BB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#8A5073
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f30bb;
/* rgb */ color: rgb(143, 48, 187);
/* oklch */ color: oklch(51.4% 0.211 312.5);
Tailwind
colors: {
  custom: {
    50: '#b472d0',
    500: '#8f30bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f30bb;
$custom-light: #b472d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30bb",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 281.007,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.21071,
    "h": 312.5
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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