#A245D0#A245D0

#A245D0 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.212 H 312.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A245D0
RGBrgb(162, 69, 208)
HSLhsl(280, 60%, 54%)
HSVhsv(280, 67%, 82%)
CMYKcmyk(22.1%, 66.8%, 0%, 18.4%)
CIE-LABlab(47.61, 60.12, -55.51)
CIE-LCHlch(47.61, 81.82, 317.28°)
OKLaboklab(57.47% 0.1428 -0.1565)
OKLCHoklch(57.47% 0.212 312.4)
XYZxyz(28.4115, 16.4925, 61.3490)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245D0 #73D045
analogous
#5D45D0 #A245D0 #D045B9
triadic
#A245D0 #D0A245 #45D0A2
tetradic
#A245D0 #D05D45 #73D045 #45B9D0
square
#A245D0 #D05D45 #73D045 #45B9D0
split-complementary
#A245D0 #B9D045 #45D05D
monochromatic
#5D1F7B #822CAC #A245D0 #BA76DC #D3A7E9

Accessibility & contrast

On white

4.89
#A245D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A245D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245D0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245D0#FFFFFF#000000##FFFFFF
##A245D01.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#9D6185
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a245d0;
/* rgb */ color: rgb(162, 69, 208);
/* oklch */ color: oklch(57.5% 0.212 312.4);
Tailwind
colors: {
  custom: {
    50: '#c17fdf',
    500: '#a245d0',
    950: '#000000',
  },
}
SCSS
$custom: #a245d0;
$custom-light: #c17fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#a245d0",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 280.144,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.21185,
    "h": 312.4
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#A245D0
secondary
#AED69B
accent
#E34579
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A245D0

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

Preview Lab → · Contrast checker → · Palette generator →

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