#8F3FC6#8F3FC6

#8F3FC6 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.204 H 308.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8F3FC6
RGBrgb(143, 63, 198)
HSLhsl(276, 54%, 51%)
HSVhsv(276, 68%, 78%)
CMYKcmyk(27.8%, 68.2%, 0%, 22.4%)
CIE-LABlab(43.47, 56.59, -56.55)
CIE-LCHlch(43.47, 80.00, 315.02°)
OKLaboklab(53.75% 0.1258 -0.1601)
OKLCHoklch(53.75% 0.204 308.1)
XYZxyz(23.2961, 13.4722, 54.7883)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FC6 #76C63F
analogous
#4B3FC6 #8F3FC6 #C63FB9
triadic
#8F3FC6 #C68F3F #3FC68F
tetradic
#8F3FC6 #C64B3F #76C63F #3FB9C6
square
#8F3FC6 #C64B3F #76C63F #3FB9C6
split-complementary
#8F3FC6 #B9C63F #3FC64B
monochromatic
#4C206B #6E2E9A #8F3FC6 #AB6ED4 #C69DE2

Accessibility & contrast

On white

5.68
#8F3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8F3FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FC6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FC6#FFFFFF#000000##FFFFFF
##8F3FC61.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#2168C3
Tritanopia (blue-blind)
#865C7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3fc6;
/* rgb */ color: rgb(143, 63, 198);
/* oklch */ color: oklch(53.8% 0.204 308.1);
Tailwind
colors: {
  custom: {
    50: '#b47ad8',
    500: '#8f3fc6',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fc6;
$custom-light: #b47ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fc6",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 275.556,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.20362,
    "h": 308.1
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#8F3FC6
secondary
#ABCE93
accent
#DE4A86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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