#8F23B9#8F23B9

#8F23B9 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.2% C 0.222 H 313.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8F23B9
RGBrgb(143, 35, 185)
HSLhsl(283, 68%, 43%)
HSVhsv(283, 81%, 73%)
CMYKcmyk(22.7%, 81.1%, 0%, 27.5%)
CIE-LABlab(38.80, 64.53, -56.48)
CIE-LCHlch(38.80, 85.76, 318.80°)
OKLaboklab(50.16% 0.1535 -0.1598)
OKLCHoklch(50.16% 0.222 313.9)
XYZxyz(20.6842, 10.5452, 46.8354)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F23B9 #4DB923
analogous
#4423B9 #8F23B9 #B92398
triadic
#8F23B9 #B98F23 #23B98F
tetradic
#8F23B9 #B94423 #4DB923 #2398B9
square
#8F23B9 #B94423 #4DB923 #2398B9
split-complementary
#8F23B9 #98B923 #23B944
monochromatic
#3F1052 #671986 #8F23B9 #AF3FDB #C472E4

Accessibility & contrast

On white

6.76
#8F23B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F23B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F23B9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F23B9#FFFFFF#000000##FFFFFF
##8F23B91.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0F5EB6
Tritanopia (blue-blind)
#8B496F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f23b9;
/* rgb */ color: rgb(143, 35, 185);
/* oklch */ color: oklch(50.2% 0.222 313.9);
Tailwind
colors: {
  custom: {
    50: '#b56ccf',
    500: '#8f23b9',
    950: '#000000',
  },
}
SCSS
$custom: #8f23b9;
$custom-light: #b56ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f23b9",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 185
  },
  "hsl": {
    "h": 283.2,
    "s": 68.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.2216,
    "h": 313.9
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#8F23B9
secondary
#87CB6D
accent
#EB3D6E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8F23B9

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

Preview Lab → · Contrast checker → · Palette generator →

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