#A242AF#A242AF

#A242AF is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.185 H 322.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A242AF
RGBrgb(162, 66, 175)
HSLhsl(293, 45%, 47%)
HSVhsv(293, 62%, 69%)
CMYKcmyk(7.4%, 62.3%, 0%, 31.4%)
CIE-LABlab(45.18, 54.85, -40.20)
CIE-LCHlch(45.18, 68.00, 323.76°)
OKLaboklab(55.09% 0.1469 -0.1117)
OKLCHoklch(55.09% 0.185 322.7)
XYZxyz(24.5856, 14.6743, 42.0865)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A242AF #4FAF42
analogous
#6C42AF #A242AF #AF4286
triadic
#A242AF #AFA242 #42AFA2
tetradic
#A242AF #AF6C42 #4FAF42 #4286AF
square
#A242AF #AF6C42 #4FAF42 #4286AF
split-complementary
#A242AF #86AF42 #42AF6C
monochromatic
#502056 #793183 #A242AF #BB68C6 #CF95D7

Accessibility & contrast

On white

5.34
#A242AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A242AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A242AF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A242AF#FFFFFF#000000##FFFFFF
##A242AF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#A45372
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a242af;
/* rgb */ color: rgb(162, 66, 175);
/* oklch */ color: oklch(55.1% 0.185 322.7);
Tailwind
colors: {
  custom: {
    50: '#c07dc7',
    500: '#a242af',
    950: '#000000',
  },
}
SCSS
$custom: #a242af;
$custom-light: #c07dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a242af",
  "rgb": {
    "r": 162,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 292.844,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5509,
    "c": 0.18458,
    "h": 322.7
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

primary
#A242AF
secondary
#91C28A
accent
#D55362
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A242AF

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

Preview Lab → · Contrast checker → · Palette generator →

#A242AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva