#8F39C5#8F39C5

#8F39C5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.210 H 309.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8F39C5
RGBrgb(143, 57, 197)
HSLhsl(277, 55%, 50%)
HSVhsv(277, 71%, 77%)
CMYKcmyk(27.4%, 71.1%, 0%, 22.7%)
CIE-LABlab(42.46, 59.01, -57.60)
CIE-LCHlch(42.46, 82.46, 315.69°)
OKLaboklab(53.01% 0.1321 -0.1632)
OKLCHoklch(53.01% 0.21 309)
XYZxyz(22.8668, 12.7975, 54.0781)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F39C5 #6FC539
analogous
#4939C5 #8F39C5 #C539B5
triadic
#8F39C5 #C58F39 #39C58F
tetradic
#8F39C5 #C54939 #6FC539 #39B5C5
square
#8F39C5 #C54939 #6FC539 #39B5C5
split-complementary
#8F39C5 #B5C539 #39C549
monochromatic
#4A1E66 #6D2B96 #8F39C5 #AA68D3 #C597E1

Accessibility & contrast

On white

5.90
#8F39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8F39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F39C5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F39C5#FFFFFF#000000##FFFFFF
##8F39C51.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#1765C2
Tritanopia (blue-blind)
#87597B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f39c5;
/* rgb */ color: rgb(143, 57, 197);
/* oklch */ color: oklch(53.0% 0.210 309.0);
Tailwind
colors: {
  custom: {
    50: '#b477d7',
    500: '#8f39c5',
    950: '#000000',
  },
}
SCSS
$custom: #8f39c5;
$custom-light: #b477d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f39c5",
  "rgb": {
    "r": 143,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 276.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.20997,
    "h": 309
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#8F39C5
secondary
#A6CD8D
accent
#DE4983
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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