#8F18B4#8F18B4

#8F18B4 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.1% C 0.226 H 315.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8F18B4
RGBrgb(143, 24, 180)
HSLhsl(286, 76%, 40%)
HSVhsv(286, 87%, 71%)
CMYKcmyk(20.6%, 86.7%, 0%, 29.4%)
CIE-LABlab(37.46, 66.42, -55.70)
CIE-LCHlch(37.46, 86.69, 320.01°)
OKLaboklab(49.11% 0.1617 -0.1574)
OKLCHoklch(49.11% 0.226 315.8)
XYZxyz(19.8912, 9.7890, 44.0129)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F18B4 #3DB418
analogous
#4118B4 #8F18B4 #B4188B
triadic
#8F18B4 #B48F18 #18B48F
tetradic
#8F18B4 #B44118 #3DB418 #188BB4
square
#8F18B4 #B44118 #3DB418 #188BB4
split-complementary
#8F18B4 #8BB418 #18B441
monochromatic
#390A48 #64117E #8F18B4 #B627E2 #C85DE9

Accessibility & contrast

On white

7.10
#8F18B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F18B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F18B4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F18B4#FFFFFF#000000##FFFFFF
##8F18B41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0F5BB1
Tritanopia (blue-blind)
#8C426B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f18b4;
/* rgb */ color: rgb(143, 24, 180);
/* oklch */ color: oklch(49.1% 0.226 315.8);
Tailwind
colors: {
  custom: {
    50: '#b569cb',
    500: '#8f18b4',
    950: '#000000',
  },
}
SCSS
$custom: #8f18b4;
$custom-light: #b569cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f18b4",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 285.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.22569,
    "h": 315.8
  },
  "luminance": 0.09788
}

Semantic roles & 50–950 ramp

primary
#8F18B4
secondary
#76CD5B
accent
#F33562
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8F18B4

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

Preview Lab → · Contrast checker → · Palette generator →

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