#A245AF#A245AF

#A245AF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.180 H 322.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A245AF
RGBrgb(162, 69, 175)
HSLhsl(293, 43%, 48%)
HSVhsv(293, 61%, 69%)
CMYKcmyk(7.4%, 60.6%, 0%, 31.4%)
CIE-LABlab(45.68, 53.49, -39.41)
CIE-LCHlch(45.68, 66.44, 323.62°)
OKLaboklab(55.45% 0.1432 -0.1095)
OKLCHoklch(55.45% 0.18 322.6)
XYZxyz(24.7655, 15.0340, 42.1465)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245AF #52AF45
analogous
#6D45AF #A245AF #AF4587
triadic
#A245AF #AFA245 #45AFA2
tetradic
#A245AF #AF6D45 #52AF45 #4587AF
square
#A245AF #AF6D45 #52AF45 #4587AF
split-complementary
#A245AF #87AF45 #45AF6D
monochromatic
#512257 #793483 #A245AF #BA6CC5 #CF98D6

Accessibility & contrast

On white

5.24
#A245AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A245AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245AF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245AF#FFFFFF#000000##FFFFFF
##A245AF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#A45574
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a245af;
/* rgb */ color: rgb(162, 69, 175);
/* oklch */ color: oklch(55.5% 0.180 322.6);
Tailwind
colors: {
  custom: {
    50: '#c07ec7',
    500: '#a245af',
    950: '#000000',
  },
}
SCSS
$custom: #a245af;
$custom-light: #c07ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#a245af",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 292.642,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5545,
    "c": 0.18025,
    "h": 322.6
  },
  "luminance": 0.15033
}

Semantic roles & 50–950 ramp

primary
#A245AF
secondary
#94C28D
accent
#D35564
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A245AF

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

Preview Lab → · Contrast checker → · Palette generator →

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