#8F3FCC#8F3FCC

#8F3FCC is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.2% C 0.210 H 306.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8F3FCC
RGBrgb(143, 63, 204)
HSLhsl(274, 58%, 52%)
HSVhsv(274, 69%, 80%)
CMYKcmyk(29.9%, 69.1%, 0%, 20%)
CIE-LABlab(43.88, 57.94, -59.36)
CIE-LCHlch(43.88, 82.95, 314.31°)
OKLaboklab(54.18% 0.125 -0.1684)
OKLCHoklch(54.18% 0.21 306.6)
XYZxyz(24.0019, 13.7545, 58.5055)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3FCC #7CCC3F
analogous
#493FCC #8F3FCC #CC3FC2
triadic
#8F3FCC #CC8F3F #3FCC8F
tetradic
#8F3FCC #CC493F #7CCC3F #3FC2CC
square
#8F3FCC #CC493F #7CCC3F #3FC2CC
split-complementary
#8F3FCC #C2CC3F #3FCC49
monochromatic
#4E1E72 #6F2BA3 #8F3FCC #AB6FD9 #C7A0E6

Accessibility & contrast

On white

5.60
#8F3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8F3FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3FCC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3FCC#FFFFFF#000000##FFFFFF
##8F3FCC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#1268C9
Tritanopia (blue-blind)
#855F81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3fcc;
/* rgb */ color: rgb(143, 63, 204);
/* oklch */ color: oklch(54.2% 0.210 306.6);
Tailwind
colors: {
  custom: {
    50: '#b57adc',
    500: '#8f3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8f3fcc;
$custom-light: #b57adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3fcc",
  "rgb": {
    "r": 143,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 274.043,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.20973,
    "h": 306.6
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#8F3FCC
secondary
#AFD295
accent
#E14789
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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