#A248A2#A248A2

#A248A2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.1% C 0.164 H 327.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A248A2
RGBrgb(162, 72, 162)
HSLhsl(300, 38%, 46%)
HSVhsv(300, 56%, 64%)
CMYKcmyk(0%, 55.6%, 0%, 36.5%)
CIE-LABlab(45.53, 49.65, -31.96)
CIE-LCHlch(45.53, 59.05, 327.23°)
OKLaboklab(55.13% 0.1381 -0.0879)
OKLCHoklch(55.13% 0.164 327.5)
XYZxyz(23.7389, 14.9262, 35.8061)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A248A2 #48A248
analogous
#7548A2 #A248A2 #A24875
triadic
#A248A2 #A2A248 #48A2A2
tetradic
#A248A2 #A27548 #48A248 #4875A2
square
#A248A2 #A27548 #48A248 #4875A2
split-complementary
#A248A2 #75A248 #48A275
monochromatic
#4D224D #783578 #A248A2 #BD6ABD #D095D0

Accessibility & contrast

On white

5.27
#A248A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A248A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A248A2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A248A2#FFFFFF#000000##FFFFFF
##A248A21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#A7526E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a248a2;
/* rgb */ color: rgb(162, 72, 162);
/* oklch */ color: oklch(55.1% 0.164 327.5);
Tailwind
colors: {
  custom: {
    50: '#c080be',
    500: '#a248a2',
    950: '#000000',
  },
}
SCSS
$custom: #a248a2;
$custom-light: #c080be;
$custom-dark: #000000;
JSON
{
  "hex": "#a248a2",
  "rgb": {
    "r": 162,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 38.462,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55126,
    "c": 0.16374,
    "h": 327.5
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#A248A2
secondary
#8ABC8A
accent
#CE5959
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A248A2

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

Preview Lab → · Contrast checker → · Palette generator →

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