#8F49C2#8F49C2

#8F49C2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.186 H 308.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8F49C2
RGBrgb(143, 73, 194)
HSLhsl(275, 50%, 52%)
HSVhsv(275, 62%, 76%)
CMYKcmyk(26.3%, 62.4%, 0%, 23.9%)
CIE-LABlab(44.94, 50.90, -51.85)
CIE-LCHlch(44.94, 72.66, 314.47°)
OKLaboklab(54.73% 0.1146 -0.1464)
OKLCHoklch(54.73% 0.186 308.1)
XYZxyz(23.4459, 14.5001, 52.5921)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49C2 #7CC249
analogous
#5349C2 #8F49C2 #C249B8
triadic
#8F49C2 #C28F49 #49C28F
tetradic
#8F49C2 #C25349 #7CC249 #49B8C2
square
#8F49C2 #C25349 #7CC249 #49B8C2
split-complementary
#8F49C2 #B8C249 #49C253
monochromatic
#4E246C #6F349A #8F49C2 #AB77D1 #C7A5E1

Accessibility & contrast

On white

5.38
#8F49C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8F49C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49C2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49C2#FFFFFF#000000##FFFFFF
##8F49C21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0568C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#87617F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f49c2;
/* rgb */ color: rgb(143, 73, 194);
/* oklch */ color: oklch(54.7% 0.186 308.1);
Tailwind
colors: {
  custom: {
    50: '#b380d5',
    500: '#8f49c2',
    950: '#000000',
  },
}
SCSS
$custom: #8f49c2;
$custom-light: #b380d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49c2",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 274.711,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.18594,
    "h": 308.1
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#8F49C2
secondary
#AFCE99
accent
#D94E89
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F49C2

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

Preview Lab → · Contrast checker → · Palette generator →

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