#8F49CA#8F49CA

#8F49CA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.195 H 305.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8F49CA
RGBrgb(143, 73, 202)
HSLhsl(273, 55%, 54%)
HSVhsv(273, 64%, 79%)
CMYKcmyk(29.2%, 63.9%, 0%, 20.8%)
CIE-LABlab(45.45, 52.75, -55.66)
CIE-LCHlch(45.45, 76.68, 313.46°)
OKLaboklab(55.27% 0.1142 -0.1576)
OKLCHoklch(55.27% 0.195 305.9)
XYZxyz(24.3686, 14.8692, 57.4519)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49CA #84CA49
analogous
#4F49CA #8F49CA #CA49C5
triadic
#8F49CA #CA8F49 #49CA8F
tetradic
#8F49CA #CA4F49 #84CA49 #49C5CA
square
#8F49CA #CA4F49 #84CA49 #49C5CA
split-complementary
#8F49CA #C5CA49 #49CA4F
monochromatic
#502276 #7030A6 #8F49CA #AC78D8 #C9A8E6

Accessibility & contrast

On white

5.28
#8F49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8F49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49CA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49CA#FFFFFF#000000##FFFFFF
##8F49CA1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#2A6CC7
Tritanopia (blue-blind)
#856483
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f49ca;
/* rgb */ color: rgb(143, 73, 202);
/* oklch */ color: oklch(55.3% 0.195 305.9);
Tailwind
colors: {
  custom: {
    50: '#b480db',
    500: '#8f49ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f49ca;
$custom-light: #b480db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49ca",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 272.558,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55267,
    "c": 0.19463,
    "h": 305.9
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#8F49CA
secondary
#B5D39C
accent
#DE4A8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8F49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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