#8A269C#8A269C

#8A269C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.192 H 321.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8A269C
RGBrgb(138, 38, 156)
HSLhsl(291, 61%, 38%)
HSVhsv(291, 76%, 61%)
CMYKcmyk(11.5%, 75.6%, 0%, 38.8%)
CIE-LABlab(36.35, 57.03, -43.15)
CIE-LCHlch(36.35, 71.52, 322.89°)
OKLaboklab(47.64% 0.1493 -0.1208)
OKLCHoklch(47.64% 0.192 321)
XYZxyz(17.1744, 9.1907, 32.3154)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A269C #389C26
analogous
#4F269C #8A269C #9C2673
triadic
#8A269C #9C8A26 #269C8A
tetradic
#8A269C #9C4F26 #389C26 #26739C
square
#8A269C #9C4F26 #389C26 #26739C
split-complementary
#8A269C #739C26 #269C4F
monochromatic
#330E3A #5E1A6B #8A269C #B532CD #C763D9

Accessibility & contrast

On white

7.40
#8A269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A269C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A269C#FFFFFF#000000##FFFFFF
##8A269C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#8B3D5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a269c;
/* rgb */ color: rgb(138, 38, 156);
/* oklch */ color: oklch(47.6% 0.192 321.0);
Tailwind
colors: {
  custom: {
    50: '#b06bba',
    500: '#8a269c',
    950: '#000000',
  },
}
SCSS
$custom: #8a269c;
$custom-light: #b06bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a269c",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 290.847,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47642,
    "c": 0.19207,
    "h": 321
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#8A269C
secondary
#6EBF5F
accent
#E4445C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A269C

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

Preview Lab → · Contrast checker → · Palette generator →

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