#8F23BA#8F23BA

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

Color values

HEX#8F23BA
RGBrgb(143, 35, 186)
HSLhsl(283, 68%, 43%)
HSVhsv(283, 81%, 73%)
CMYKcmyk(23.1%, 81.2%, 0%, 27.1%)
CIE-LABlab(38.88, 64.72, -56.96)
CIE-LCHlch(38.88, 86.21, 318.65°)
OKLaboklab(50.24% 0.1533 -0.1612)
OKLCHoklch(50.24% 0.222 313.6)
XYZxyz(20.7901, 10.5876, 47.3933)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F23BA #4EBA23
analogous
#4323BA #8F23BA #BA2399
triadic
#8F23BA #BA8F23 #23BA8F
tetradic
#8F23BA #BA4323 #4EBA23 #2399BA
square
#8F23BA #BA4323 #4EBA23 #2399BA
split-complementary
#8F23BA #99BA23 #23BA43
monochromatic
#401053 #671986 #8F23BA #AF3FDB #C473E5

Accessibility & contrast

On white

6.74
#8F23BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8F23BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F23BA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F23BA#FFFFFF#000000##FFFFFF
##8F23BA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0B5EB7
Tritanopia (blue-blind)
#8A4970
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f23ba;
/* rgb */ color: rgb(143, 35, 186);
/* oklch */ color: oklch(50.2% 0.222 313.6);
Tailwind
colors: {
  custom: {
    50: '#b56cd0',
    500: '#8f23ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f23ba;
$custom-light: #b56cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f23ba",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 186
  },
  "hsl": {
    "h": 282.914,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50238,
    "c": 0.22245,
    "h": 313.6
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#8F23BA
secondary
#88CC6D
accent
#EB3D6E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8F23BA

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

Preview Lab → · Contrast checker → · Palette generator →

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