#8F229E#8F229E

#8F229E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.200 H 322.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8F229E
RGBrgb(143, 34, 158)
HSLhsl(293, 65%, 38%)
HSVhsv(293, 78%, 62%)
CMYKcmyk(9.5%, 78.5%, 0%, 38%)
CIE-LABlab(36.84, 59.74, -43.52)
CIE-LCHlch(36.84, 73.91, 323.92°)
OKLaboklab(48.2% 0.1585 -0.1218)
OKLCHoklch(48.2% 0.2 322.5)
XYZxyz(18.0706, 9.4534, 33.2140)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F229E #319E22
analogous
#51229E #8F229E #9E226F
triadic
#8F229E #9E8F22 #229E8F
tetradic
#8F229E #9E5122 #319E22 #226F9E
square
#8F229E #9E5122 #319E22 #226F9E
split-complementary
#8F229E #6F9E22 #229E51
monochromatic
#340C39 #61176C #8F229E #BD2DD0 #CD5EDC

Accessibility & contrast

On white

7.27
#8F229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F229E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F229E#FFFFFF#000000##FFFFFF
##8F229E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#913B60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f229e;
/* rgb */ color: rgb(143, 34, 158);
/* oklch */ color: oklch(48.2% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#b46bbb',
    500: '#8f229e',
    950: '#000000',
  },
}
SCSS
$custom: #8f229e;
$custom-light: #b46bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f229e",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 292.742,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.1999,
    "h": 322.5
  },
  "luminance": 0.09452
}

Semantic roles & 50–950 ramp

primary
#8F229E
secondary
#67C15B
accent
#E84054
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F229E

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

Preview Lab → · Contrast checker → · Palette generator →

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