#8F28C3#8F28C3

#8F28C3 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.3% C 0.226 H 310.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8F28C3
RGBrgb(143, 40, 195)
HSLhsl(280, 66%, 46%)
HSVhsv(280, 79%, 76%)
CMYKcmyk(26.7%, 79.5%, 0%, 23.5%)
CIE-LABlab(40.08, 64.98, -60.29)
CIE-LCHlch(40.08, 88.64, 317.14°)
OKLaboklab(51.29% 0.1476 -0.171)
OKLCHoklch(51.29% 0.226 310.8)
XYZxyz(21.9349, 11.2979, 52.6444)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F28C3 #5CC328
analogous
#4128C3 #8F28C3 #C328A9
triadic
#8F28C3 #C38F28 #28C38F
tetradic
#8F28C3 #C34128 #5CC328 #28A9C3
square
#8F28C3 #C34128 #5CC328 #28A9C3
split-complementary
#8F28C3 #A9C328 #28C341
monochromatic
#45135D #6A1E90 #8F28C3 #AB4EDB #C380E5

Accessibility & contrast

On white

6.44
#8F28C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8F28C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F28C3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F28C3#FFFFFF#000000##FFFFFF
##8F28C31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#884F76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f28c3;
/* rgb */ color: rgb(143, 40, 195);
/* oklch */ color: oklch(51.3% 0.226 310.8);
Tailwind
colors: {
  custom: {
    50: '#b56fd6',
    500: '#8f28c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f28c3;
$custom-light: #b56fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f28c3",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 279.871,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.2259,
    "h": 310.8
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#8F28C3
secondary
#95CE79
accent
#E93F78
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F28C3

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

Preview Lab → · Contrast checker → · Palette generator →

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