#8F3CCC#8F3CCC

#8F3CCC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.213 H 306.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8F3CCC
RGBrgb(143, 60, 204)
HSLhsl(275, 59%, 52%)
HSVhsv(275, 71%, 80%)
CMYKcmyk(29.9%, 70.6%, 0%, 20%)
CIE-LABlab(43.41, 59.27, -60.12)
CIE-LCHlch(43.41, 84.42, 314.59°)
OKLaboklab(53.84% 0.1281 -0.1706)
OKLCHoklch(53.84% 0.213 306.9)
XYZxyz(23.8403, 13.4313, 58.4516)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CCC #79CC3C
analogous
#473CCC #8F3CCC #CC3CC1
triadic
#8F3CCC #CC8F3C #3CCC8F
tetradic
#8F3CCC #CC473C #79CC3C #3CC1CC
square
#8F3CCC #CC473C #79CC3C #3CC1CC
split-complementary
#8F3CCC #C1CC3C #3CCC47
monochromatic
#4D1D70 #6E2AA1 #8F3CCC #AB6DD9 #C79DE5

Accessibility & contrast

On white

5.70
#8F3CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3CCC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CCC#FFFFFF#000000##FFFFFF
##8F3CCC1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0767C9
Tritanopia (blue-blind)
#855D80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3ccc;
/* rgb */ color: rgb(143, 60, 204);
/* oklch */ color: oklch(53.8% 0.213 306.9);
Tailwind
colors: {
  custom: {
    50: '#b579dc',
    500: '#8f3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ccc;
$custom-light: #b579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ccc",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 274.583,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.21336,
    "h": 306.9
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#8F3CCC
secondary
#ADD192
accent
#E24688
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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