#8F3CC1#8F3CC1

#8F3CC1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.202 H 309.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8F3CC1
RGBrgb(143, 60, 193)
HSLhsl(277, 53%, 50%)
HSVhsv(277, 69%, 76%)
CMYKcmyk(25.9%, 68.9%, 0%, 24.3%)
CIE-LABlab(42.65, 56.83, -54.96)
CIE-LCHlch(42.65, 79.06, 315.96°)
OKLaboklab(53.06% 0.1295 -0.1555)
OKLCHoklch(53.06% 0.202 309.8)
XYZxyz(22.5673, 12.9221, 51.7471)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CC1 #6EC13C
analogous
#4D3CC1 #8F3CC1 #C13CB0
triadic
#8F3CC1 #C18F3C #3CC18F
tetradic
#8F3CC1 #C14D3C #6EC13C #3CB0C1
square
#8F3CC1 #C14D3C #6EC13C #3CB0C1
split-complementary
#8F3CC1 #B0C13C #3CC14D
monochromatic
#4A1F64 #6C2D92 #8F3CC1 #AA6AD1 #C498DF

Accessibility & contrast

On white

5.86
#8F3CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8F3CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CC1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CC1#FFFFFF#000000##FFFFFF
##8F3CC11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#2566BE
Tritanopia (blue-blind)
#88597A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3cc1;
/* rgb */ color: rgb(143, 60, 193);
/* oklch */ color: oklch(53.1% 0.202 309.8);
Tailwind
colors: {
  custom: {
    50: '#b478d4',
    500: '#8f3cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cc1;
$custom-light: #b478d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cc1",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 277.444,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.20235,
    "h": 309.8
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#8F3CC1
secondary
#A5CB8E
accent
#DC4C82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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