#8F3FC2#8F3FC2

#8F3FC2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.5% C 0.200 H 309.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8F3FC2
RGBrgb(143, 63, 194)
HSLhsl(277, 52%, 50%)
HSVhsv(277, 68%, 76%)
CMYKcmyk(26.3%, 67.5%, 0%, 23.9%)
CIE-LABlab(43.20, 55.70, -54.66)
CIE-LCHlch(43.20, 78.04, 315.54°)
OKLaboklab(53.47% 0.1262 -0.1546)
OKLCHoklch(53.47% 0.2 309.2)
XYZxyz(22.8409, 13.2901, 52.3905)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FC2 #72C23F
analogous
#4D3FC2 #8F3FC2 #C23FB4
triadic
#8F3FC2 #C28F3F #3FC28F
tetradic
#8F3FC2 #C24D3F #72C23F #3FB4C2
square
#8F3FC2 #C24D3F #72C23F #3FB4C2
split-complementary
#8F3FC2 #B4C23F #3FC24D
monochromatic
#4B2066 #6D2F95 #8F3FC2 #AA6DD1 #C59CE0

Accessibility & contrast

On white

5.74
#8F3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8F3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FC2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FC2#FFFFFF#000000##FFFFFF
##8F3FC21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#885B7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3fc2;
/* rgb */ color: rgb(143, 63, 194);
/* oklch */ color: oklch(53.5% 0.200 309.2);
Tailwind
colors: {
  custom: {
    50: '#b47ad5',
    500: '#8f3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fc2;
$custom-light: #b47ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fc2",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 276.641,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.19954,
    "h": 309.2
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#8F3FC2
secondary
#A8CC91
accent
#DB4D84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #8F3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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