#8F30B7#8F30B7

#8F30B7 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.207 H 313.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8F30B7
RGBrgb(143, 48, 183)
HSLhsl(282, 58%, 45%)
HSVhsv(282, 74%, 72%)
CMYKcmyk(21.9%, 73.8%, 0%, 28.2%)
CIE-LABlab(40.20, 59.69, -53.04)
CIE-LCHlch(40.20, 79.85, 318.37°)
OKLaboklab(51.1% 0.1429 -0.1498)
OKLCHoklch(51.1% 0.207 313.7)
XYZxyz(20.9304, 11.3731, 45.8832)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30B7 #58B730
analogous
#4B30B7 #8F30B7 #B7309C
triadic
#8F30B7 #B78F30 #30B78F
tetradic
#8F30B7 #B74B30 #58B730 #309CB7
square
#8F30B7 #B74B30 #58B730 #309CB7
split-complementary
#8F30B7 #9CB730 #30B74B
monochromatic
#431756 #692387 #8F30B7 #AC52D2 #C383DE

Accessibility & contrast

On white

6.41
#8F30B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8F30B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30B7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30B7#FFFFFF#000000##FFFFFF
##8F30B71.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2561B4
Tritanopia (blue-blind)
#8B4E71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f30b7;
/* rgb */ color: rgb(143, 48, 183);
/* oklch */ color: oklch(51.1% 0.207 313.7);
Tailwind
colors: {
  custom: {
    50: '#b472cd',
    500: '#8f30b7',
    950: '#000000',
  },
}
SCSS
$custom: #8f30b7;
$custom-light: #b472cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30b7",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 282.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51104,
    "c": 0.20702,
    "h": 313.7
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#8F30B7
secondary
#92C87B
accent
#E24674
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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