#A245CA#A245CA

#A245CA is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.206 H 314.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A245CA
RGBrgb(162, 69, 202)
HSLhsl(282, 56%, 53%)
HSVhsv(282, 66%, 79%)
CMYKcmyk(19.8%, 65.8%, 0%, 20.8%)
CIE-LABlab(47.24, 58.87, -52.66)
CIE-LCHlch(47.24, 78.98, 318.19°)
OKLaboklab(57.08% 0.1432 -0.1482)
OKLCHoklch(57.08% 0.206 314)
XYZxyz(27.6873, 16.2028, 57.5346)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245CA #6DCA45
analogous
#5F45CA #A245CA #CA45AF
triadic
#A245CA #CAA245 #45CAA2
tetradic
#A245CA #CA5F45 #6DCA45 #45AFCA
square
#A245CA #CA5F45 #6DCA45 #45AFCA
split-complementary
#A245CA #AFCA45 #45CA5F
monochromatic
#5B2174 #802FA3 #A245CA #BA75D8 #D2A4E5

Accessibility & contrast

On white

4.95
#A245CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A245CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245CA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245CA#FFFFFF#000000##FFFFFF
##A245CA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3F72C7
Tritanopia (blue-blind)
#9E5F82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a245ca;
/* rgb */ color: rgb(162, 69, 202);
/* oklch */ color: oklch(57.1% 0.206 314.0);
Tailwind
colors: {
  custom: {
    50: '#c17fdb',
    500: '#a245ca',
    950: '#000000',
  },
}
SCSS
$custom: #a245ca;
$custom-light: #c17fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a245ca",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 281.955,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.20602,
    "h": 314
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#A245CA
secondary
#AAD299
accent
#DF4976
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A245CA

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

Preview Lab → · Contrast checker → · Palette generator →

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