#8F2CC2#8F2CC2

#8F2CC2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.221 H 310.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8F2CC2
RGBrgb(143, 44, 194)
HSLhsl(280, 63%, 47%)
HSVhsv(280, 77%, 76%)
CMYKcmyk(26.3%, 77.3%, 0%, 23.9%)
CIE-LABlab(40.47, 63.42, -59.07)
CIE-LCHlch(40.47, 86.67, 317.04°)
OKLaboklab(51.54% 0.1446 -0.1674)
OKLCHoklch(51.54% 0.221 310.8)
XYZxyz(21.9641, 11.5366, 52.0982)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CC2 #5FC22C
analogous
#442CC2 #8F2CC2 #C22CAA
triadic
#8F2CC2 #C28F2C #2CC28F
tetradic
#8F2CC2 #C2442C #5FC22C #2CAAC2
square
#8F2CC2 #C2442C #5FC22C #2CAAC2
split-complementary
#8F2CC2 #AAC22C #2CC244
monochromatic
#45155E #6A2190 #8F2CC2 #AB53D8 #C385E3

Accessibility & contrast

On white

6.35
#8F2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8F2CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CC2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CC2#FFFFFF#000000##FFFFFF
##8F2CC21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#885176
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2cc2;
/* rgb */ color: rgb(143, 44, 194);
/* oklch */ color: oklch(51.5% 0.221 310.8);
Tailwind
colors: {
  custom: {
    50: '#b570d5',
    500: '#8f2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2cc2;
$custom-light: #b570d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2cc2",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 279.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.22125,
    "h": 310.8
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#8F2CC2
secondary
#98CD7D
accent
#E6427A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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