#A242CE#A242CE

#A242CE is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.214 H 313.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A242CE
RGBrgb(162, 66, 206)
HSLhsl(281, 59%, 53%)
HSVhsv(281, 68%, 81%)
CMYKcmyk(21.4%, 68%, 0%, 19.2%)
CIE-LABlab(47.02, 61.00, -55.31)
CIE-LCHlch(47.02, 82.35, 317.80°)
OKLaboklab(57% 0.1462 -0.1559)
OKLCHoklch(57% 0.214 313.1)
XYZxyz(27.9871, 16.0349, 60.0013)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A242CE #6ECE42
analogous
#5C42CE #A242CE #CE42B4
triadic
#A242CE #CEA242 #42CEA2
tetradic
#A242CE #CE5C42 #6ECE42 #42B4CE
square
#A242CE #CE5C42 #6ECE42 #42B4CE
split-complementary
#A242CE #B4CE42 #42CE5C
monochromatic
#5B1F77 #802BA7 #A242CE #BA73DB #D2A3E7

Accessibility & contrast

On white

4.99
#A242CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A242CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A242CE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A242CE#FFFFFF#000000##FFFFFF
##A242CE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#9D5F83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a242ce;
/* rgb */ color: rgb(162, 66, 206);
/* oklch */ color: oklch(57.0% 0.214 313.1);
Tailwind
colors: {
  custom: {
    50: '#c27ede',
    500: '#a242ce',
    950: '#000000',
  },
}
SCSS
$custom: #a242ce;
$custom-light: #c27ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a242ce",
  "rgb": {
    "r": 162,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 281.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.21373,
    "h": 313.1
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#A242CE
secondary
#ABD498
accent
#E24677
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A242CE

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

Preview Lab → · Contrast checker → · Palette generator →

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