#8F2FC9#8F2FC9

#8F2FC9 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.3% C 0.225 H 308.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8F2FC9
RGBrgb(143, 47, 201)
HSLhsl(277, 62%, 49%)
HSVhsv(277, 77%, 79%)
CMYKcmyk(28.9%, 76.6%, 0%, 21.2%)
CIE-LABlab(41.36, 63.82, -61.70)
CIE-LCHlch(41.36, 88.77, 315.97°)
OKLaboklab(52.33% 0.1407 -0.1752)
OKLCHoklch(52.33% 0.225 308.8)
XYZxyz(22.8847, 12.0901, 56.3751)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FC9 #69C92F
analogous
#422FC9 #8F2FC9 #C92FB6
triadic
#8F2FC9 #C98F2F #2FC98F
tetradic
#8F2FC9 #C9422F #69C92F #2FB6C9
square
#8F2FC9 #C9422F #69C92F #2FB6C9
split-complementary
#8F2FC9 #B6C92F #2FC942
monochromatic
#481866 #6C2397 #8F2FC9 #AA5CD9 #C48EE5

Accessibility & contrast

On white

6.14
#8F2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8F2FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FC9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FC9#FFFFFF#000000##FFFFFF
##8F2FC91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#86557B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f2fc9;
/* rgb */ color: rgb(143, 47, 201);
/* oklch */ color: oklch(52.3% 0.225 308.8);
Tailwind
colors: {
  custom: {
    50: '#b572da',
    500: '#8f2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fc9;
$custom-light: #b572da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fc9",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 277.403,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.22468,
    "h": 308.8
  },
  "luminance": 0.1209
}

Semantic roles & 50–950 ramp

primary
#8F2FC9
secondary
#A1CF85
accent
#E54380
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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