#8F3DCA#8F3DCA

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

Color values

HEX#8F3DCA
RGBrgb(143, 61, 202)
HSLhsl(275, 57%, 52%)
HSVhsv(275, 70%, 79%)
CMYKcmyk(29.2%, 69.8%, 0%, 20.8%)
CIE-LABlab(43.42, 58.38, -58.94)
CIE-LCHlch(43.42, 82.96, 314.73°)
OKLaboklab(53.81% 0.1274 -0.1672)
OKLCHoklch(53.81% 0.21 307.3)
XYZxyz(23.6549, 13.4417, 57.2140)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DCA #78CA3D
analogous
#493DCA #8F3DCA #CA3DBE
triadic
#8F3DCA #CA8F3D #3DCA8F
tetradic
#8F3DCA #CA493D #78CA3D #3DBECA
square
#8F3DCA #CA493D #78CA3D #3DBECA
split-complementary
#8F3DCA #BECA3D #3DCA49
monochromatic
#4D1E6E #6E2B9F #8F3DCA #AB6DD7 #C79DE4

Accessibility & contrast

On white

5.69
#8F3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3DCA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DCA#FFFFFF#000000##FFFFFF
##8F3DCA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#1367C7
Tritanopia (blue-blind)
#855D7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3dca;
/* rgb */ color: rgb(143, 61, 202);
/* oklch */ color: oklch(53.8% 0.210 307.3);
Tailwind
colors: {
  custom: {
    50: '#b579db',
    500: '#8f3dca',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dca;
$custom-light: #b579db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dca",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 274.894,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53808,
    "c": 0.21016,
    "h": 307.3
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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