#A242CF#A242CF

#A242CF is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.215 H 312.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A242CF
RGBrgb(162, 66, 207)
HSLhsl(281, 59%, 54%)
HSVhsv(281, 68%, 81%)
CMYKcmyk(21.7%, 68.1%, 0%, 18.8%)
CIE-LABlab(47.08, 61.21, -55.79)
CIE-LCHlch(47.08, 82.82, 317.65°)
OKLaboklab(57.07% 0.1461 -0.1573)
OKLCHoklch(57.07% 0.215 312.9)
XYZxyz(28.1090, 16.0836, 60.6431)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A242CF #6FCF42
analogous
#5B42CF #A242CF #CF42B5
triadic
#A242CF #CFA242 #42CFA2
tetradic
#A242CF #CF5B42 #6FCF42 #42B5CF
square
#A242CF #CF5B42 #6FCF42 #42B5CF
split-complementary
#A242CF #B5CF42 #42CF5B
monochromatic
#5C1F78 #812BA9 #A242CF #BA73DB #D2A4E8

Accessibility & contrast

On white

4.98
#A242CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A242CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A242CF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A242CF#FFFFFF#000000##FFFFFF
##A242CF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#9D5F84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a242cf;
/* rgb */ color: rgb(162, 66, 207);
/* oklch */ color: oklch(57.1% 0.215 312.9);
Tailwind
colors: {
  custom: {
    50: '#c27ede',
    500: '#a242cf',
    950: '#000000',
  },
}
SCSS
$custom: #a242cf;
$custom-light: #c27ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a242cf",
  "rgb": {
    "r": 162,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 280.851,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.21469,
    "h": 312.9
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#A242CF
secondary
#ABD598
accent
#E34577
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A242CF

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

Preview Lab → · Contrast checker → · Palette generator →

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