#8F258C#8F258C

#8F258C is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.182 H 329.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F258C
RGBrgb(143, 37, 140)
HSLhsl(302, 59%, 35%)
HSVhsv(302, 74%, 56%)
CMYKcmyk(0%, 74.1%, 2.1%, 43.9%)
CIE-LABlab(36.09, 55.63, -33.74)
CIE-LCHlch(36.09, 65.06, 328.76°)
OKLaboklab(47.31% 0.1566 -0.0933)
OKLCHoklch(47.31% 0.182 329.2)
XYZxyz(16.7228, 9.0575, 25.6734)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F258C #258F28
analogous
#5D258F #8F258C #8F2557
triadic
#8F258C #8C8F25 #258C8F
tetradic
#8F258C #8F5D25 #258F28 #25578F
square
#8F258C #8F5D25 #258F28 #25578F
split-complementary
#8F258C #578F25 #258F5D
monochromatic
#2E0C2D #5E185C #8F258C #C032BC #D45AD1

Accessibility & contrast

On white

7.47
#8F258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F258C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F258C#FFFFFF#000000##FFFFFF
##8F258C1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C8F
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#943456
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f258c;
/* rgb */ color: rgb(143, 37, 140);
/* oklch */ color: oklch(47.3% 0.182 329.2);
Tailwind
colors: {
  custom: {
    50: '#b36bae',
    500: '#8f258c',
    950: '#000000',
  },
}
SCSS
$custom: #8f258c;
$custom-light: #b36bae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f258c",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 301.698,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.18227,
    "h": 329.2
  },
  "luminance": 0.09056
}

Semantic roles & 50–950 ramp

primary
#8F258C
secondary
#57B95A
accent
#E24A46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F258C

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

Preview Lab → · Contrast checker → · Palette generator →

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