#8A299F#8A299F

#8A299F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.191 H 319.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8A299F
RGBrgb(138, 41, 159)
HSLhsl(289, 59%, 39%)
HSVhsv(289, 74%, 62%)
CMYKcmyk(13.2%, 74.2%, 0%, 37.6%)
CIE-LABlab(36.92, 56.53, -44.05)
CIE-LCHlch(36.92, 71.67, 322.07°)
OKLaboklab(48.11% 0.1462 -0.1235)
OKLCHoklch(48.11% 0.191 319.8)
XYZxyz(17.5314, 9.4932, 33.7031)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A299F #3E9F29
analogous
#4F299F #8A299F #9F2979
triadic
#8A299F #9F8A29 #299F8A
tetradic
#8A299F #9F4F29 #3E9F29 #29799F
square
#8A299F #9F4F29 #3E9F29 #29799F
split-complementary
#8A299F #799F29 #299F4F
monochromatic
#36103E #601C6E #8A299F #B239CC #C56AD9

Accessibility & contrast

On white

7.25
#8A299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A299F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A299F#FFFFFF#000000##FFFFFF
##8A299F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#335A9C
Tritanopia (blue-blind)
#8A4062
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a299f;
/* rgb */ color: rgb(138, 41, 159);
/* oklch */ color: oklch(48.1% 0.191 319.8);
Tailwind
colors: {
  custom: {
    50: '#b06dbc',
    500: '#8a299f',
    950: '#000000',
  },
}
SCSS
$custom: #8a299f;
$custom-light: #b06dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a299f",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 289.322,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.19136,
    "h": 319.8
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#8A299F
secondary
#75BF65
accent
#E24661
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A299F

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

Preview Lab → · Contrast checker → · Palette generator →

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