#8F49CD#8F49CD

#8F49CD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.5% C 0.198 H 305.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8F49CD
RGBrgb(143, 73, 205)
HSLhsl(272, 57%, 55%)
HSVhsv(272, 64%, 80%)
CMYKcmyk(30.2%, 64.4%, 0%, 19.6%)
CIE-LABlab(45.65, 53.45, -57.07)
CIE-LCHlch(45.65, 78.19, 313.12°)
OKLaboklab(55.47% 0.114 -0.1617)
OKLCHoklch(55.47% 0.198 305.2)
XYZxyz(24.7273, 15.0127, 59.3408)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49CD #87CD49
analogous
#4D49CD #8F49CD #CD49C9
triadic
#8F49CD #CD8F49 #49CD8F
tetradic
#8F49CD #CD4D49 #87CD49 #49C9CD
square
#8F49CD #CD4D49 #87CD49 #49C9CD
split-complementary
#8F49CD #C9CD49 #49CD4D
monochromatic
#50227A #702FAA #8F49CD #AD79DA #CAA9E7

Accessibility & contrast

On white

5.25
#8F49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8F49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49CD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49CD#FFFFFF#000000##FFFFFF
##8F49CD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#266CCA
Tritanopia (blue-blind)
#846585
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f49cd;
/* rgb */ color: rgb(143, 73, 205);
/* oklch */ color: oklch(55.5% 0.198 305.2);
Tailwind
colors: {
  custom: {
    50: '#b480dd',
    500: '#8f49cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f49cd;
$custom-light: #b480dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49cd",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 271.818,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.19788,
    "h": 305.2
  },
  "luminance": 0.15013
}

Semantic roles & 50–950 ramp

primary
#8F49CD
secondary
#B7D59D
accent
#E0488F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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