#A245BC#A245BC

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

Color values

HEX#A245BC
RGBrgb(162, 69, 188)
HSLhsl(287, 47%, 50%)
HSVhsv(287, 63%, 74%)
CMYKcmyk(13.8%, 63.3%, 0%, 26.3%)
CIE-LABlab(46.40, 56.02, -45.88)
CIE-LCHlch(46.40, 72.41, 320.69°)
OKLaboklab(56.21% 0.1435 -0.1283)
OKLCHoklch(56.21% 0.193 318.2)
XYZxyz(26.1043, 15.5696, 49.1974)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245BC #5FBC45
analogous
#6645BC #A245BC #BC459A
triadic
#A245BC #BCA245 #45BCA2
tetradic
#A245BC #BC6645 #5FBC45 #459ABC
square
#A245BC #BC6645 #5FBC45 #459ABC
split-complementary
#A245BC #9ABC45 #45BC66
monochromatic
#552463 #7C3490 #A245BC #B872CC #CF9FDC

Accessibility & contrast

On white

5.11
#A245BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A245BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245BC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245BC#FFFFFF#000000##FFFFFF
##A245BC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#A25A7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a245bc;
/* rgb */ color: rgb(162, 69, 188);
/* oklch */ color: oklch(56.2% 0.193 318.2);
Tailwind
colors: {
  custom: {
    50: '#c17fd1',
    500: '#a245bc',
    950: '#000000',
  },
}
SCSS
$custom: #a245bc;
$custom-light: #c17fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a245bc",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 286.891,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.19253,
    "h": 318.2
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#A245BC
secondary
#9FC994
accent
#D7516E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A245BC

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

Preview Lab → · Contrast checker → · Palette generator →

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