#8C259F#8C259F

#8C259F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.197 H 320.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8C259F
RGBrgb(140, 37, 159)
HSLhsl(291, 62%, 38%)
HSVhsv(291, 77%, 62%)
CMYKcmyk(11.9%, 76.7%, 0%, 37.6%)
CIE-LABlab(36.75, 58.35, -44.31)
CIE-LCHlch(36.75, 73.26, 322.79°)
OKLaboklab(48.05% 0.1523 -0.1242)
OKLCHoklch(48.05% 0.197 320.8)
XYZxyz(17.7341, 9.4027, 33.6750)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C259F #389F25
analogous
#4F259F #8C259F #9F2575
triadic
#8C259F #9F8C25 #259F8C
tetradic
#8C259F #9F4F25 #389F25 #25759F
square
#8C259F #9F4F25 #389F25 #25759F
split-complementary
#8C259F #759F25 #259F4F
monochromatic
#350E3C #60196D #8C259F #B732CF #C864DB

Accessibility & contrast

On white

7.29
#8C259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8C259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C259F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C259F#FFFFFF#000000##FFFFFF
##8C259F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#8D3E61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c259f;
/* rgb */ color: rgb(140, 37, 159);
/* oklch */ color: oklch(48.1% 0.197 320.8);
Tailwind
colors: {
  custom: {
    50: '#b16bbc',
    500: '#8c259f',
    950: '#000000',
  },
}
SCSS
$custom: #8c259f;
$custom-light: #b16bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c259f",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 290.656,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.19651,
    "h": 320.8
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#8C259F
secondary
#6FC05F
accent
#E5425C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C259F

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

Preview Lab → · Contrast checker → · Palette generator →

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