#A245BB#A245BB

#A245BB is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.192 H 318.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A245BB
RGBrgb(162, 69, 187)
HSLhsl(287, 46%, 50%)
HSVhsv(287, 63%, 73%)
CMYKcmyk(13.4%, 63.1%, 0%, 26.7%)
CIE-LABlab(46.35, 55.82, -45.38)
CIE-LCHlch(46.35, 71.94, 320.89°)
OKLaboklab(56.15% 0.1435 -0.1269)
OKLCHoklch(56.15% 0.192 318.5)
XYZxyz(25.9968, 15.5266, 48.6316)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245BB #5EBB45
analogous
#6745BB #A245BB #BB4599
triadic
#A245BB #BBA245 #45BBA2
tetradic
#A245BB #BB6745 #5EBB45 #4599BB
square
#A245BB #BB6745 #5EBB45 #4599BB
split-complementary
#A245BB #99BB45 #45BB67
monochromatic
#552462 #7B348F #A245BB #B872CB #CF9FDC

Accessibility & contrast

On white

5.12
#A245BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A245BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245BB#FFFFFF#000000##FFFFFF
##A245BB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#A2597A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a245bb;
/* rgb */ color: rgb(162, 69, 187);
/* oklch */ color: oklch(56.1% 0.192 318.5);
Tailwind
colors: {
  custom: {
    50: '#c17fd0',
    500: '#a245bb',
    950: '#000000',
  },
}
SCSS
$custom: #a245bb;
$custom-light: #c17fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a245bb",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 287.288,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.19157,
    "h": 318.5
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#A245BB
secondary
#9FC894
accent
#D6526E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A245BB

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

Preview Lab → · Contrast checker → · Palette generator →

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