#A245CD#A245CD

#A245CD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.209 H 313.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A245CD
RGBrgb(162, 69, 205)
HSLhsl(281, 58%, 54%)
HSVhsv(281, 66%, 80%)
CMYKcmyk(21%, 66.3%, 0%, 19.6%)
CIE-LABlab(47.43, 59.49, -54.09)
CIE-LCHlch(47.43, 80.40, 317.72°)
OKLaboklab(57.27% 0.143 -0.1524)
OKLCHoklch(57.27% 0.209 313.2)
XYZxyz(28.0459, 16.3462, 59.4235)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245CD #70CD45
analogous
#5E45CD #A245CD #CD45B4
triadic
#A245CD #CDA245 #45CDA2
tetradic
#A245CD #CD5E45 #70CD45 #45B4CD
square
#A245CD #CD5E45 #70CD45 #45B4CD
split-complementary
#A245CD #B4CD45 #45CD5E
monochromatic
#5C2077 #812DA8 #A245CD #BA75DA #D2A5E7

Accessibility & contrast

On white

4.92
#A245CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A245CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245CD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245CD#FFFFFF#000000##FFFFFF
##A245CD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#9E6083
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a245cd;
/* rgb */ color: rgb(162, 69, 205);
/* oklch */ color: oklch(57.3% 0.209 313.2);
Tailwind
colors: {
  custom: {
    50: '#c17fdd',
    500: '#a245cd',
    950: '#000000',
  },
}
SCSS
$custom: #a245cd;
$custom-light: #c17fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a245cd",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 281.029,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57273,
    "c": 0.20893,
    "h": 313.2
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#A245CD
secondary
#ACD49A
accent
#E14778
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A245CD

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

Preview Lab → · Contrast checker → · Palette generator →

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