#8C259D#8C259D

#8C259D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.195 H 321.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8C259D
RGBrgb(140, 37, 157)
HSLhsl(292, 62%, 38%)
HSVhsv(292, 76%, 62%)
CMYKcmyk(10.8%, 76.4%, 0%, 38.4%)
CIE-LABlab(36.62, 57.98, -43.30)
CIE-LCHlch(36.62, 72.36, 323.24°)
OKLaboklab(47.92% 0.1525 -0.1212)
OKLCHoklch(47.92% 0.195 321.5)
XYZxyz(17.5619, 9.3339, 32.7683)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C259D #369D25
analogous
#50259D #8C259D #9D2572
triadic
#8C259D #9D8C25 #259D8C
tetradic
#8C259D #9D5025 #369D25 #25729D
square
#8C259D #9D5025 #369D25 #25729D
split-complementary
#8C259D #729D25 #259D50
monochromatic
#340E3A #60196B #8C259D #B831CE #C962DA

Accessibility & contrast

On white

7.33
#8C259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8C259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C259D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C259D#FFFFFF#000000##FFFFFF
##8C259D1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#355A9A
Tritanopia (blue-blind)
#8D3D60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c259d;
/* rgb */ color: rgb(140, 37, 157);
/* oklch */ color: oklch(47.9% 0.195 321.5);
Tailwind
colors: {
  custom: {
    50: '#b16bba',
    500: '#8c259d',
    950: '#000000',
  },
}
SCSS
$custom: #8c259d;
$custom-light: #b16bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8c259d",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 291.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.19482,
    "h": 321.5
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#8C259D
secondary
#6CBF5E
accent
#E5435A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C259D

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

Preview Lab → · Contrast checker → · Palette generator →

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