#8A2683#8A2683

#8A2683 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.171 H 331.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8A2683
RGBrgb(138, 38, 131)
HSLhsl(304, 57%, 35%)
HSVhsv(304, 72%, 54%)
CMYKcmyk(0%, 72.5%, 5.1%, 45.9%)
CIE-LABlab(34.86, 52.59, -30.18)
CIE-LCHlch(34.86, 60.63, 330.15°)
OKLaboklab(46.1% 0.1498 -0.0831)
OKLCHoklch(46.1% 0.171 331)
XYZxyz(15.2710, 8.4294, 22.2911)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2683 #268A2D
analogous
#5F268A #8A2683 #8A2651
triadic
#8A2683 #838A26 #26838A
tetradic
#8A2683 #8A5F26 #268A2D #26518A
square
#8A2683 #8A5F26 #268A2D #26518A
split-complementary
#8A2683 #518A26 #268A5F
monochromatic
#2A0C28 #5A1955 #8A2683 #BA33B1 #D159C9

Accessibility & contrast

On white

7.82
#8A2683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2683
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2683#FFFFFF#000000##FFFFFF
##8A26831.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4986
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#903252
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2683;
/* rgb */ color: rgb(138, 38, 131);
/* oklch */ color: oklch(46.1% 0.171 331.0);
Tailwind
colors: {
  custom: {
    50: '#af6aa7',
    500: '#8a2683',
    950: '#000000',
  },
}
SCSS
$custom: #8a2683;
$custom-light: #af6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2683",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 304.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.461,
    "c": 0.17132,
    "h": 331
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#8A2683
secondary
#56B65C
accent
#E05248
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2683

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

Preview Lab → · Contrast checker → · Palette generator →

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