#8F2FA2#8F2FA2

#8F2FA2 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.189 H 320.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8F2FA2
RGBrgb(143, 47, 162)
HSLhsl(290, 55%, 41%)
HSVhsv(290, 71%, 64%)
CMYKcmyk(11.7%, 71%, 0%, 36.5%)
CIE-LABlab(38.69, 55.91, -42.97)
CIE-LCHlch(38.69, 70.51, 322.45°)
OKLaboklab(49.59% 0.146 -0.1202)
OKLCHoklch(49.59% 0.189 320.5)
XYZxyz(18.8650, 10.4823, 35.2050)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FA2 #42A22F
analogous
#552FA2 #8F2FA2 #A22F7B
triadic
#8F2FA2 #A28F2F #2FA28F
tetradic
#8F2FA2 #A2552F #42A22F #2F7BA2
square
#8F2FA2 #A2552F #42A22F #2F7BA2
split-complementary
#8F2FA2 #7BA22F #2FA255
monochromatic
#3B1343 #652173 #8F2FA2 #B345C9 #C775D7

Accessibility & contrast

On white

6.78
#8F2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8F2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FA2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FA2#FFFFFF#000000##FFFFFF
##8F2FA21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3A5F9F
Tritanopia (blue-blind)
#904465
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2fa2;
/* rgb */ color: rgb(143, 47, 162);
/* oklch */ color: oklch(49.6% 0.189 320.5);
Tailwind
colors: {
  custom: {
    50: '#b370be',
    500: '#8f2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fa2;
$custom-light: #b370be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fa2",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 290.087,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49593,
    "c": 0.18911,
    "h": 320.5
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#8F2FA2
secondary
#7BBF6E
accent
#DE4962
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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