#8F3FB2#8F3FB2

#8F3FB2 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.4% C 0.183 H 314.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8F3FB2
RGBrgb(143, 63, 178)
HSLhsl(282, 48%, 47%)
HSVhsv(282, 65%, 70%)
CMYKcmyk(19.7%, 64.6%, 0%, 30.2%)
CIE-LABlab(42.17, 52.21, -46.93)
CIE-LCHlch(42.17, 70.20, 318.05°)
OKLaboklab(52.41% 0.1272 -0.1319)
OKLCHoklch(52.41% 0.183 314)
XYZxyz(21.1397, 12.6097, 43.4312)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FB2 #62B23F
analogous
#553FB2 #8F3FB2 #B23F9C
triadic
#8F3FB2 #B28F3F #3FB28F
tetradic
#8F3FB2 #B2553F #62B23F #3F9CB2
square
#8F3FB2 #B2553F #62B23F #3F9CB2
split-complementary
#8F3FB2 #9CB23F #3FB255
monochromatic
#461F58 #6B2F85 #8F3FB2 #AB66C9 #C393D9

Accessibility & contrast

On white

5.96
#8F3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8F3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FB2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FB2#FFFFFF#000000##FFFFFF
##8F3FB21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB5
Deuteranopia (green-blind)
#3A65AF
Tritanopia (blue-blind)
#8C5573
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3fb2;
/* rgb */ color: rgb(143, 63, 178);
/* oklch */ color: oklch(52.4% 0.183 314.0);
Tailwind
colors: {
  custom: {
    50: '#b379ca',
    500: '#8f3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fb2;
$custom-light: #b379ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fb2",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 281.739,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52407,
    "c": 0.18328,
    "h": 314
  },
  "luminance": 0.12609
}

Semantic roles & 50–950 ramp

primary
#8F3FB2
secondary
#9BC489
accent
#D7507A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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