#A245BD#A245BD

#A245BD is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.193 H 317.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A245BD
RGBrgb(162, 69, 189)
HSLhsl(287, 48%, 51%)
HSVhsv(287, 63%, 74%)
CMYKcmyk(14.3%, 63.5%, 0%, 25.9%)
CIE-LABlab(46.46, 56.22, -46.37)
CIE-LCHlch(46.46, 72.88, 320.49°)
OKLaboklab(56.27% 0.1435 -0.1297)
OKLCHoklch(56.27% 0.193 317.9)
XYZxyz(26.2124, 15.6128, 49.7671)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245BD #60BD45
analogous
#6645BD #A245BD #BD459C
triadic
#A245BD #BDA245 #45BDA2
tetradic
#A245BD #BD6645 #60BD45 #459CBD
square
#A245BD #BD6645 #60BD45 #459CBD
split-complementary
#A245BD #9CBD45 #45BD66
monochromatic
#562464 #7C3491 #A245BD #B972CD #CF9FDD

Accessibility & contrast

On white

5.09
#A245BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A245BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245BD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245BD#FFFFFF#000000##FFFFFF
##A245BD1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C1
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#A15A7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a245bd;
/* rgb */ color: rgb(162, 69, 189);
/* oklch */ color: oklch(56.3% 0.193 317.9);
Tailwind
colors: {
  custom: {
    50: '#c17fd1',
    500: '#a245bd',
    950: '#000000',
  },
}
SCSS
$custom: #a245bd;
$custom-light: #c17fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a245bd",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 286.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5627,
    "c": 0.19348,
    "h": 317.9
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#A245BD
secondary
#A0CA94
accent
#D7516F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A245BD

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

Preview Lab → · Contrast checker → · Palette generator →

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