#8F2CD1#8F2CD1

#8F2CD1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.7% C 0.235 H 307.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8F2CD1
RGBrgb(143, 44, 209)
HSLhsl(276, 65%, 50%)
HSVhsv(276, 79%, 82%)
CMYKcmyk(31.6%, 78.9%, 0%, 18%)
CIE-LABlab(41.60, 66.57, -65.94)
CIE-LCHlch(41.60, 93.70, 315.27°)
OKLaboklab(52.69% 0.1413 -0.1876)
OKLCHoklch(52.69% 0.235 307)
XYZxyz(23.7345, 12.2447, 61.4224)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CD1 #6ED12C
analogous
#3D2CD1 #8F2CD1 #D12CC1
triadic
#8F2CD1 #D18F2C #2CD18F
tetradic
#8F2CD1 #D13D2C #6ED12C #2CC1D1
square
#8F2CD1 #D13D2C #6ED12C #2CC1D1
split-complementary
#8F2CD1 #C1D12C #2CD13D
monochromatic
#4A176C #6C219E #8F2CD1 #AA5DDD #C490E8

Accessibility & contrast

On white

6.09
#8F2CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8F2CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CD1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CD1#FFFFFF#000000##FFFFFF
##8F2CD11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#84577F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f2cd1;
/* rgb */ color: rgb(143, 44, 209);
/* oklch */ color: oklch(52.7% 0.235 307.0);
Tailwind
colors: {
  custom: {
    50: '#b671e0',
    500: '#8f2cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2cd1;
$custom-light: #b671e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2cd1",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 276,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.23486,
    "h": 307
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#8F2CD1
secondary
#A5D287
accent
#E84083
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8F2CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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