#8F3BB5#8F3BB5

#8F3BB5 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.192 H 313.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8F3BB5
RGBrgb(143, 59, 181)
HSLhsl(281, 51%, 47%)
HSVhsv(281, 67%, 71%)
CMYKcmyk(21%, 67.4%, 0%, 29%)
CIE-LABlab(41.70, 54.69, -49.46)
CIE-LCHlch(41.70, 73.73, 317.87°)
OKLaboklab(52.13% 0.1317 -0.1393)
OKLCHoklch(52.13% 0.192 313.4)
XYZxyz(21.2307, 12.3044, 44.9637)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BB5 #61B53B
analogous
#523BB5 #8F3BB5 #B53B9E
triadic
#8F3BB5 #B58F3B #3BB58F
tetradic
#8F3BB5 #B5523B #61B53B #3B9EB5
square
#8F3BB5 #B5523B #61B53B #3B9EB5
split-complementary
#8F3BB5 #9EB53B #3BB552
monochromatic
#461D59 #6B2C87 #8F3BB5 #AB62CC #C390DB

Accessibility & contrast

On white

6.07
#8F3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BB5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BB5#FFFFFF#000000##FFFFFF
##8F3BB51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#8B5373
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3bb5;
/* rgb */ color: rgb(143, 59, 181);
/* oklch */ color: oklch(52.1% 0.192 313.4);
Tailwind
colors: {
  custom: {
    50: '#b377cc',
    500: '#8f3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bb5;
$custom-light: #b377cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bb5",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 281.311,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.19171,
    "h": 313.4
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#8F3BB5
secondary
#9AC686
accent
#DA4D79
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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