#8F3DC3#8F3DC3

#8F3DC3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.203 H 309.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8F3DC3
RGBrgb(143, 61, 195)
HSLhsl(277, 53%, 50%)
HSVhsv(277, 69%, 76%)
CMYKcmyk(26.7%, 68.7%, 0%, 23.5%)
CIE-LABlab(42.94, 56.82, -55.65)
CIE-LCHlch(42.94, 79.54, 315.60°)
OKLaboklab(53.31% 0.1282 -0.1575)
OKLCHoklch(53.31% 0.203 309.1)
XYZxyz(22.8448, 13.1177, 52.9477)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DC3 #71C33D
analogous
#4C3DC3 #8F3DC3 #C33DB4
triadic
#8F3DC3 #C38F3D #3DC38F
tetradic
#8F3DC3 #C34C3D #71C33D #3DB4C3
square
#8F3DC3 #C34C3D #71C33D #3DB4C3
split-complementary
#8F3DC3 #B4C33D #3DC34C
monochromatic
#4B2066 #6D2E95 #8F3DC3 #AA6CD1 #C59AE0

Accessibility & contrast

On white

5.80
#8F3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F3DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DC3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DC3#FFFFFF#000000##FFFFFF
##8F3DC31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#2366C0
Tritanopia (blue-blind)
#875A7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3dc3;
/* rgb */ color: rgb(143, 61, 195);
/* oklch */ color: oklch(53.3% 0.203 309.1);
Tailwind
colors: {
  custom: {
    50: '#b479d6',
    500: '#8f3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dc3;
$custom-light: #b479d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dc3",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 276.716,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.2031,
    "h": 309.1
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#8F3DC3
secondary
#A7CC90
accent
#DC4C84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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