#8A269F#8A269F

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

Color values

HEX#8A269F
RGBrgb(138, 38, 159)
HSLhsl(290, 61%, 39%)
HSVhsv(290, 76%, 62%)
CMYKcmyk(13.2%, 76.1%, 0%, 37.6%)
CIE-LABlab(36.54, 57.60, -44.65)
CIE-LCHlch(36.54, 72.88, 322.21°)
OKLaboklab(47.84% 0.149 -0.1252)
OKLCHoklch(47.84% 0.195 319.9)
XYZxyz(17.4316, 9.2936, 33.6698)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A269F #3B9F26
analogous
#4D269F #8A269F #9F2677
triadic
#8A269F #9F8A26 #269F8A
tetradic
#8A269F #9F4D26 #3B9F26 #26779F
square
#8A269F #9F4D26 #3B9F26 #26779F
split-complementary
#8A269F #779F26 #269F4D
monochromatic
#340E3C #5F1A6E #8A269F #B434CE #C665DA

Accessibility & contrast

On white

7.35
#8A269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A269F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A269F#FFFFFF#000000##FFFFFF
##8A269F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#31599C
Tritanopia (blue-blind)
#8A3F61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a269f;
/* rgb */ color: rgb(138, 38, 159);
/* oklch */ color: oklch(47.8% 0.195 319.9);
Tailwind
colors: {
  custom: {
    50: '#b06cbc',
    500: '#8a269f',
    950: '#000000',
  },
}
SCSS
$custom: #8a269f;
$custom-light: #b06cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a269f",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 289.587,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47842,
    "c": 0.19464,
    "h": 319.9
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#8A269F
secondary
#71C061
accent
#E5435F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A269F

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

Preview Lab → · Contrast checker → · Palette generator →

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