#8F2FC8#8F2FC8

#8F2FC8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.3% C 0.224 H 309.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8F2FC8
RGBrgb(143, 47, 200)
HSLhsl(278, 62%, 48%)
HSVhsv(278, 77%, 78%)
CMYKcmyk(28.5%, 76.5%, 0%, 21.6%)
CIE-LABlab(41.28, 63.61, -61.24)
CIE-LCHlch(41.28, 88.30, 316.09°)
OKLaboklab(52.25% 0.1409 -0.1738)
OKLCHoklch(52.25% 0.224 309)
XYZxyz(22.7674, 12.0432, 55.7576)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FC8 #68C82F
analogous
#422FC8 #8F2FC8 #C82FB4
triadic
#8F2FC8 #C88F2F #2FC88F
tetradic
#8F2FC8 #C8422F #68C82F #2FB4C8
square
#8F2FC8 #C8422F #68C82F #2FB4C8
split-complementary
#8F2FC8 #B4C82F #2FC842
monochromatic
#481865 #6C2396 #8F2FC8 #AA5CD9 #C48DE4

Accessibility & contrast

On white

6.16
#8F2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8F2FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FC8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FC8#FFFFFF#000000##FFFFFF
##8F2FC81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#86557B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f2fc8;
/* rgb */ color: rgb(143, 47, 200);
/* oklch */ color: oklch(52.3% 0.224 309.0);
Tailwind
colors: {
  custom: {
    50: '#b572da',
    500: '#8f2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fc8;
$custom-light: #b572da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fc8",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 277.647,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.22377,
    "h": 309
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

primary
#8F2FC8
secondary
#A0CF84
accent
#E5437F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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