#8F229B#8F229B

#8F229B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.197 H 323.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8F229B
RGBrgb(143, 34, 155)
HSLhsl(294, 64%, 37%)
HSVhsv(294, 78%, 61%)
CMYKcmyk(7.7%, 78.1%, 0%, 39.2%)
CIE-LABlab(36.65, 59.20, -42.01)
CIE-LCHlch(36.65, 72.59, 324.64°)
OKLaboklab(48% 0.1588 -0.1173)
OKLCHoklch(48% 0.197 323.5)
XYZxyz(17.8156, 9.3514, 31.8706)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F229B #2E9B22
analogous
#53229B #8F229B #9B226A
triadic
#8F229B #9B8F22 #229B8F
tetradic
#8F229B #9B5322 #2E9B22 #226A9B
square
#8F229B #9B5322 #2E9B22 #226A9B
split-complementary
#8F229B #6A9B22 #229B53
monochromatic
#320C37 #611769 #8F229B #BD2DCD #CF5CDB

Accessibility & contrast

On white

7.32
#8F229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F229B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F229B#FFFFFF#000000##FFFFFF
##8F229B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#913A5E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f229b;
/* rgb */ color: rgb(143, 34, 155);
/* oklch */ color: oklch(48.0% 0.197 323.5);
Tailwind
colors: {
  custom: {
    50: '#b46bb9',
    500: '#8f229b',
    950: '#000000',
  },
}
SCSS
$custom: #8f229b;
$custom-light: #b46bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f229b",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 294.05,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47998,
    "c": 0.19745,
    "h": 323.5
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

primary
#8F229B
secondary
#63C059
accent
#E74151
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F229B

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

Preview Lab → · Contrast checker → · Palette generator →

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