#8F3DC5#8F3DC5

#8F3DC5 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.205 H 308.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F3DC5
RGBrgb(143, 61, 197)
HSLhsl(276, 54%, 51%)
HSVhsv(276, 69%, 77%)
CMYKcmyk(27.4%, 69%, 0%, 22.7%)
CIE-LABlab(43.08, 57.27, -56.60)
CIE-LCHlch(43.08, 80.52, 315.34°)
OKLaboklab(53.45% 0.128 -0.1603)
OKLCHoklch(53.45% 0.205 308.6)
XYZxyz(23.0724, 13.2087, 54.1466)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DC5 #73C53D
analogous
#4B3DC5 #8F3DC5 #C53DB7
triadic
#8F3DC5 #C58F3D #3DC58F
tetradic
#8F3DC5 #C54B3D #73C53D #3DB7C5
square
#8F3DC5 #C54B3D #73C53D #3DB7C5
split-complementary
#8F3DC5 #B7C53D #3DC54B
monochromatic
#4B1F68 #6D2D98 #8F3DC5 #AA6CD3 #C59BE1

Accessibility & contrast

On white

5.77
#8F3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8F3DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DC5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DC5#FFFFFF#000000##FFFFFF
##8F3DC51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#1F67C2
Tritanopia (blue-blind)
#875B7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3dc5;
/* rgb */ color: rgb(143, 61, 197);
/* oklch */ color: oklch(53.5% 0.205 308.6);
Tailwind
colors: {
  custom: {
    50: '#b479d7',
    500: '#8f3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dc5;
$custom-light: #b479d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dc5",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 276.176,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.20511,
    "h": 308.6
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#8F3DC5
secondary
#A9CD91
accent
#DD4A85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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