#8242AE#8242AE

#8242AE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.170 H 308.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8242AE
RGBrgb(130, 66, 174)
HSLhsl(276, 45%, 47%)
HSVhsv(276, 62%, 68%)
CMYKcmyk(25.3%, 62.1%, 0%, 31.8%)
CIE-LABlab(40.73, 46.75, -46.96)
CIE-LCHlch(40.73, 66.26, 314.87°)
OKLaboklab(50.92% 0.1068 -0.1325)
OKLCHoklch(50.92% 0.17 308.9)
XYZxyz(18.7926, 11.6986, 41.3042)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8242AE #6EAE42
analogous
#4C42AE #8242AE #AE42A4
triadic
#8242AE #AE8242 #42AE82
tetradic
#8242AE #AE4C42 #6EAE42 #42A4AE
square
#8242AE #AE4C42 #6EAE42 #42A4AE
split-complementary
#8242AE #A4AE42 #42AE4C
monochromatic
#402055 #613182 #8242AE #9F68C6 #BB94D6

Accessibility & contrast

On white

6.29
#8242AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8242AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8242AE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8242AE#FFFFFF#000000##FFFFFF
##8242AE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5DB1
Deuteranopia (green-blind)
#3261AB
Tritanopia (blue-blind)
#7C5772
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8242ae;
/* rgb */ color: rgb(130, 66, 174);
/* oklch */ color: oklch(50.9% 0.170 308.9);
Tailwind
colors: {
  custom: {
    50: '#aa7ac7',
    500: '#8242ae',
    950: '#000000',
  },
}
SCSS
$custom: #8242ae;
$custom-light: #aa7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8242ae",
  "rgb": {
    "r": 130,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 275.556,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.17017,
    "h": 308.9
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#8242AE
secondary
#A1C28A
accent
#D55388
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8242AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8242AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva