#A242CC#A242CC

#A242CC is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.212 H 313.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A242CC
RGBrgb(162, 66, 204)
HSLhsl(282, 58%, 53%)
HSVhsv(282, 68%, 80%)
CMYKcmyk(20.6%, 67.6%, 0%, 20%)
CIE-LABlab(46.89, 60.59, -54.37)
CIE-LCHlch(46.89, 81.41, 318.10°)
OKLaboklab(56.87% 0.1463 -0.1531)
OKLCHoklch(56.87% 0.212 313.7)
XYZxyz(27.7457, 15.9383, 58.7299)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A242CC #6CCC42
analogous
#5D42CC #A242CC #CC42B1
triadic
#A242CC #CCA242 #42CCA2
tetradic
#A242CC #CC5D42 #6CCC42 #42B1CC
square
#A242CC #CC5D42 #6CCC42 #42B1CC
split-complementary
#A242CC #B1CC42 #42CC5D
monochromatic
#5A1F74 #802CA4 #A242CC #BA72D9 #D1A2E6

Accessibility & contrast

On white

5.02
#A242CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A242CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A242CC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A242CC#FFFFFF#000000##FFFFFF
##A242CC1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#3A71C9
Tritanopia (blue-blind)
#9E5E82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a242cc;
/* rgb */ color: rgb(162, 66, 204);
/* oklch */ color: oklch(56.9% 0.212 313.7);
Tailwind
colors: {
  custom: {
    50: '#c17edc',
    500: '#a242cc',
    950: '#000000',
  },
}
SCSS
$custom: #a242cc;
$custom-light: #c17edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a242cc",
  "rgb": {
    "r": 162,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 281.739,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56871,
    "c": 0.21182,
    "h": 313.7
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#A242CC
secondary
#A9D397
accent
#E14776
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A242CC

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

Preview Lab → · Contrast checker → · Palette generator →

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