#8C259B#8C259B

#8C259B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.193 H 322.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8C259B
RGBrgb(140, 37, 155)
HSLhsl(292, 61%, 38%)
HSVhsv(292, 76%, 61%)
CMYKcmyk(9.7%, 76.1%, 0%, 39.2%)
CIE-LABlab(36.49, 57.61, -42.30)
CIE-LCHlch(36.49, 71.47, 323.71°)
OKLaboklab(47.79% 0.1527 -0.1183)
OKLCHoklch(47.79% 0.193 322.2)
XYZxyz(17.3926, 9.2661, 31.8764)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C259B #349B25
analogous
#51259B #8C259B #9B256F
triadic
#8C259B #9B8C25 #259B8C
tetradic
#8C259B #9B5125 #349B25 #256F9B
square
#8C259B #9B5125 #349B25 #256F9B
split-complementary
#8C259B #6F9B25 #259B51
monochromatic
#330D38 #5F196A #8C259B #B931CC #CA61D9

Accessibility & contrast

On white

7.36
#8C259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8C259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C259B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C259B#FFFFFF#000000##FFFFFF
##8C259B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#365A98
Tritanopia (blue-blind)
#8E3C5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c259b;
/* rgb */ color: rgb(140, 37, 155);
/* oklch */ color: oklch(47.8% 0.193 322.2);
Tailwind
colors: {
  custom: {
    50: '#b16bb9',
    500: '#8c259b',
    950: '#000000',
  },
}
SCSS
$custom: #8c259b;
$custom-light: #b16bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c259b",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 292.373,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47787,
    "c": 0.19313,
    "h": 322.2
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#8C259B
secondary
#6ABF5D
accent
#E54358
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C259B

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

Preview Lab → · Contrast checker → · Palette generator →

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