#8F30B8#8F30B8

#8F30B8 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.208 H 313.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8F30B8
RGBrgb(143, 48, 184)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 74%, 72%)
CMYKcmyk(22.3%, 73.9%, 0%, 27.8%)
CIE-LABlab(40.27, 59.89, -53.52)
CIE-LCHlch(40.27, 80.32, 318.21°)
OKLaboklab(51.17% 0.1428 -0.1512)
OKLCHoklch(51.17% 0.208 313.4)
XYZxyz(21.0349, 11.4149, 46.4333)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F30B8 #59B830
analogous
#4B30B8 #8F30B8 #B8309D
triadic
#8F30B8 #B88F30 #30B88F
tetradic
#8F30B8 #B84B30 #59B830 #309DB8
square
#8F30B8 #B84B30 #59B830 #309DB8
split-complementary
#8F30B8 #9DB830 #30B84B
monochromatic
#441757 #692387 #8F30B8 #AC53D2 #C384DF

Accessibility & contrast

On white

6.40
#8F30B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8F30B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F30B8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F30B8#FFFFFF#000000##FFFFFF
##8F30B81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#2361B5
Tritanopia (blue-blind)
#8B4E72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f30b8;
/* rgb */ color: rgb(143, 48, 184);
/* oklch */ color: oklch(51.2% 0.208 313.4);
Tailwind
colors: {
  custom: {
    50: '#b472ce',
    500: '#8f30b8',
    950: '#000000',
  },
}
SCSS
$custom: #8f30b8;
$custom-light: #b472ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f30b8",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 281.912,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.20794,
    "h": 313.4
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#8F30B8
secondary
#93C87C
accent
#E24675
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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