#8F3DC0#8F3DC0

#8F3DC0 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.200 H 310.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8F3DC0
RGBrgb(143, 61, 192)
HSLhsl(278, 52%, 50%)
HSVhsv(278, 68%, 75%)
CMYKcmyk(25.5%, 68.2%, 0%, 24.7%)
CIE-LABlab(42.74, 56.16, -54.23)
CIE-LCHlch(42.74, 78.07, 316.00°)
OKLaboklab(53.1% 0.1285 -0.1533)
OKLCHoklch(53.1% 0.2 310)
XYZxyz(22.5090, 12.9834, 51.1792)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DC0 #6EC03D
analogous
#4D3DC0 #8F3DC0 #C03DB0
triadic
#8F3DC0 #C08F3D #3DC08F
tetradic
#8F3DC0 #C04D3D #6EC03D #3DB0C0
square
#8F3DC0 #C04D3D #6EC03D #3DB0C0
split-complementary
#8F3DC0 #B0C03D #3DC04D
monochromatic
#4A1F63 #6C2E92 #8F3DC0 #AA6AD0 #C499DF

Accessibility & contrast

On white

5.84
#8F3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8F3DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DC0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DC0#FFFFFF#000000##FFFFFF
##8F3DC01.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#88597A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3dc0;
/* rgb */ color: rgb(143, 61, 192);
/* oklch */ color: oklch(53.1% 0.200 310.0);
Tailwind
colors: {
  custom: {
    50: '#b479d4',
    500: '#8f3dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dc0;
$custom-light: #b479d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dc0",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 277.557,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53104,
    "c": 0.20008,
    "h": 310
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#8F3DC0
secondary
#A5CA8E
accent
#DB4D82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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