#8F258E#8F258E

#8F258E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.184 H 328.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8F258E
RGBrgb(143, 37, 142)
HSLhsl(301, 59%, 35%)
HSVhsv(301, 74%, 56%)
CMYKcmyk(0%, 74.1%, 0.7%, 43.9%)
CIE-LABlab(36.21, 55.96, -34.79)
CIE-LCHlch(36.21, 65.90, 328.13°)
OKLaboklab(47.43% 0.1566 -0.0963)
OKLCHoklch(47.43% 0.184 328.4)
XYZxyz(16.8716, 9.1170, 26.4571)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F258E #258F26
analogous
#5B258F #8F258E #8F2559
triadic
#8F258E #8E8F25 #258E8F
tetradic
#8F258E #8F5B25 #258F26 #25598F
square
#8F258E #8F5B25 #258F26 #25598F
split-complementary
#8F258E #598F25 #258F5B
monochromatic
#2E0C2D #5E185E #8F258E #C032BE #D45AD3

Accessibility & contrast

On white

7.44
#8F258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F258E
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F258E#FFFFFF#000000##FFFFFF
##8F258E1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#943557
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f258e;
/* rgb */ color: rgb(143, 37, 142);
/* oklch */ color: oklch(47.4% 0.184 328.4);
Tailwind
colors: {
  custom: {
    50: '#b36baf',
    500: '#8f258e',
    950: '#000000',
  },
}
SCSS
$custom: #8f258e;
$custom-light: #b36baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f258e",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 300.566,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47431,
    "c": 0.18386,
    "h": 328.4
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#8F258E
secondary
#57B958
accent
#E24746
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F258E

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

Preview Lab → · Contrast checker → · Palette generator →

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