#8F3CC5#8F3CC5

#8F3CC5 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.206 H 308.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8F3CC5
RGBrgb(143, 60, 197)
HSLhsl(276, 54%, 50%)
HSVhsv(276, 70%, 77%)
CMYKcmyk(27.4%, 69.5%, 0%, 22.7%)
CIE-LABlab(42.92, 57.71, -56.85)
CIE-LCHlch(42.92, 81.01, 315.43°)
OKLaboklab(53.34% 0.129 -0.161)
OKLCHoklch(53.34% 0.206 308.7)
XYZxyz(23.0195, 13.1030, 54.1290)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CC5 #72C53C
analogous
#4A3CC5 #8F3CC5 #C53CB7
triadic
#8F3CC5 #C58F3C #3CC58F
tetradic
#8F3CC5 #C54A3C #72C53C #3CB7C5
square
#8F3CC5 #C54A3C #72C53C #3CB7C5
split-complementary
#8F3CC5 #B7C53C #3CC54A
monochromatic
#4B1F68 #6D2D97 #8F3CC5 #AA6BD3 #C59AE1

Accessibility & contrast

On white

5.80
#8F3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F3CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CC5
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CC5#FFFFFF#000000##FFFFFF
##8F3CC51.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#1D66C2
Tritanopia (blue-blind)
#875A7C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3cc5;
/* rgb */ color: rgb(143, 60, 197);
/* oklch */ color: oklch(53.3% 0.206 308.7);
Tailwind
colors: {
  custom: {
    50: '#b478d7',
    500: '#8f3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cc5;
$custom-light: #b478d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cc5",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 276.35,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5334,
    "c": 0.20635,
    "h": 308.7
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#8F3CC5
secondary
#A8CD90
accent
#DE4A84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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