#8F3CCA#8F3CCA

#8F3CCA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.211 H 307.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8F3CCA
RGBrgb(143, 60, 202)
HSLhsl(275, 57%, 51%)
HSVhsv(275, 70%, 79%)
CMYKcmyk(29.2%, 70.3%, 0%, 20.8%)
CIE-LABlab(43.27, 58.82, -59.19)
CIE-LCHlch(43.27, 83.45, 314.82°)
OKLaboklab(53.7% 0.1284 -0.1679)
OKLCHoklch(53.7% 0.211 307.4)
XYZxyz(23.6020, 13.3359, 57.1964)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CCA #77CA3C
analogous
#483CCA #8F3CCA #CA3CBE
triadic
#8F3CCA #CA8F3C #3CCA8F
tetradic
#8F3CCA #CA483C #77CA3C #3CBECA
square
#8F3CCA #CA483C #77CA3C #3CBECA
split-complementary
#8F3CCA #BECA3C #3CCA48
monochromatic
#4D1E6E #6E2B9E #8F3CCA #AB6CD7 #C69CE4

Accessibility & contrast

On white

5.73
#8F3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8F3CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CCA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CCA#FFFFFF#000000##FFFFFF
##8F3CCA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#1067C7
Tritanopia (blue-blind)
#855C7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3cca;
/* rgb */ color: rgb(143, 60, 202);
/* oklch */ color: oklch(53.7% 0.211 307.4);
Tailwind
colors: {
  custom: {
    50: '#b579db',
    500: '#8f3cca',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cca;
$custom-light: #b579db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cca",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 275.07,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.21136,
    "h": 307.4
  },
  "luminance": 0.13336
}

Semantic roles & 50–950 ramp

primary
#8F3CCA
secondary
#ACD092
accent
#E14787
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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