#9242AE#9242AE

#9242AE is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.9% C 0.176 H 316.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9242AE
RGBrgb(146, 66, 174)
HSLhsl(284, 45%, 47%)
HSVhsv(284, 62%, 68%)
CMYKcmyk(16.1%, 62.1%, 0%, 31.8%)
CIE-LABlab(42.86, 50.67, -43.44)
CIE-LCHlch(42.86, 66.74, 319.39°)
OKLaboklab(52.92% 0.1274 -0.1216)
OKLCHoklch(52.92% 0.176 316.3)
XYZxyz(21.4411, 13.0642, 41.4284)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9242AE #5EAE42
analogous
#5C42AE #9242AE #AE4294
triadic
#9242AE #AE9242 #42AE92
tetradic
#9242AE #AE5C42 #5EAE42 #4294AE
square
#9242AE #AE5C42 #5EAE42 #4294AE
split-complementary
#9242AE #94AE42 #42AE5C
monochromatic
#482055 #6D3182 #9242AE #AD68C6 #C594D6

Accessibility & contrast

On white

5.81
#9242AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9242AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9242AE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9242AE#FFFFFF#000000##FFFFFF
##9242AE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#4368AB
Tritanopia (blue-blind)
#915572
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9242ae;
/* rgb */ color: rgb(146, 66, 174);
/* oklch */ color: oklch(52.9% 0.176 316.3);
Tailwind
colors: {
  custom: {
    50: '#b57bc7',
    500: '#9242ae',
    950: '#000000',
  },
}
SCSS
$custom: #9242ae;
$custom-light: #b57bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9242ae",
  "rgb": {
    "r": 146,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 284.444,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.17615,
    "h": 316.3
  },
  "luminance": 0.13063
}

Semantic roles & 50–950 ramp

primary
#9242AE
secondary
#98C28A
accent
#D55375
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9242AE

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

Preview Lab → · Contrast checker → · Palette generator →

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