#8F2697#8F2697

#8F2697 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.190 H 324.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8F2697
RGBrgb(143, 38, 151)
HSLhsl(296, 60%, 37%)
HSVhsv(296, 75%, 59%)
CMYKcmyk(5.3%, 74.8%, 0%, 40.8%)
CIE-LABlab(36.86, 57.19, -39.25)
CIE-LCHlch(36.86, 69.36, 325.53°)
OKLaboklab(48.07% 0.1555 -0.1093)
OKLCHoklch(48.07% 0.19 324.9)
XYZxyz(17.6063, 9.4614, 30.1710)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2697 #2E9726
analogous
#572697 #8F2697 #972667
triadic
#8F2697 #978F26 #26978F
tetradic
#8F2697 #975726 #2E9726 #266797
square
#8F2697 #975726 #2E9726 #266797
split-complementary
#8F2697 #679726 #269757
monochromatic
#320D35 #611A66 #8F2697 #BD32C8 #CF60D7

Accessibility & contrast

On white

7.26
#8F2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8F2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2697
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2697#FFFFFF#000000##FFFFFF
##8F26971.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#923A5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2697;
/* rgb */ color: rgb(143, 38, 151);
/* oklch */ color: oklch(48.1% 0.190 324.9);
Tailwind
colors: {
  custom: {
    50: '#b36cb6',
    500: '#8f2697',
    950: '#000000',
  },
}
SCSS
$custom: #8f2697;
$custom-light: #b36cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2697",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 295.752,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48065,
    "c": 0.19007,
    "h": 324.9
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#8F2697
secondary
#63BC5C
accent
#E34550
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2697

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

Preview Lab → · Contrast checker → · Palette generator →

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