#8F259D#8F259D

#8F259D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.196 H 322.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8F259D
RGBrgb(143, 37, 157)
HSLhsl(293, 62%, 38%)
HSVhsv(293, 76%, 62%)
CMYKcmyk(8.9%, 76.4%, 0%, 38.4%)
CIE-LABlab(37.11, 58.60, -42.49)
CIE-LCHlch(37.11, 72.38, 324.05°)
OKLaboklab(48.37% 0.156 -0.1188)
OKLCHoklch(48.37% 0.196 322.7)
XYZxyz(18.0745, 9.5982, 32.7924)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F259D #339D25
analogous
#53259D #8F259D #9D256F
triadic
#8F259D #9D8F25 #259D8F
tetradic
#8F259D #9D5325 #339D25 #256F9D
square
#8F259D #9D5325 #339D25 #256F9D
split-complementary
#8F259D #6F9D25 #259D53
monochromatic
#350E3A #62196B #8F259D #BC31CE #CC62DA

Accessibility & contrast

On white

7.19
#8F259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F259D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F259D#FFFFFF#000000##FFFFFF
##8F259D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#385B9A
Tritanopia (blue-blind)
#913C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f259d;
/* rgb */ color: rgb(143, 37, 157);
/* oklch */ color: oklch(48.4% 0.196 322.7);
Tailwind
colors: {
  custom: {
    50: '#b46cba',
    500: '#8f259d',
    950: '#000000',
  },
}
SCSS
$custom: #8f259d;
$custom-light: #b46cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f259d",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 293,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48365,
    "c": 0.19609,
    "h": 322.7
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

primary
#8F259D
secondary
#6ABF5E
accent
#E54356
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F259D

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

Preview Lab → · Contrast checker → · Palette generator →

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