#8F2DC2#8F2DC2

#8F2DC2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.220 H 310.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8F2DC2
RGBrgb(143, 45, 194)
HSLhsl(279, 62%, 47%)
HSVhsv(279, 77%, 76%)
CMYKcmyk(26.3%, 76.8%, 0%, 23.9%)
CIE-LABlab(40.59, 63.07, -58.87)
CIE-LCHlch(40.59, 86.27, 316.97°)
OKLaboklab(51.63% 0.1438 -0.1669)
OKLCHoklch(51.63% 0.22 310.8)
XYZxyz(22.0018, 11.6120, 52.1108)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DC2 #60C22D
analogous
#452DC2 #8F2DC2 #C22DAB
triadic
#8F2DC2 #C28F2D #2DC28F
tetradic
#8F2DC2 #C2452D #60C22D #2DABC2
square
#8F2DC2 #C2452D #60C22D #2DABC2
split-complementary
#8F2DC2 #ABC22D #2DC245
monochromatic
#46165F #6A2190 #8F2DC2 #AB55D7 #C386E3

Accessibility & contrast

On white

6.32
#8F2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8F2DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DC2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DC2#FFFFFF#000000##FFFFFF
##8F2DC21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0261BF
Tritanopia (blue-blind)
#885177
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f2dc2;
/* rgb */ color: rgb(143, 45, 194);
/* oklch */ color: oklch(51.6% 0.220 310.8);
Tailwind
colors: {
  custom: {
    50: '#b571d5',
    500: '#8f2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2dc2;
$custom-light: #b571d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2dc2",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 279.463,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.22026,
    "h": 310.8
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#8F2DC2
secondary
#99CD7E
accent
#E5427A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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