#A249B2#A249B2

#A249B2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.1% C 0.177 H 321.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A249B2
RGBrgb(162, 73, 178)
HSLhsl(291, 42%, 49%)
HSVhsv(291, 59%, 70%)
CMYKcmyk(9%, 59%, 0%, 30.2%)
CIE-LABlab(46.53, 52.19, -39.83)
CIE-LCHlch(46.53, 65.66, 322.65°)
OKLaboklab(56.12% 0.1383 -0.1107)
OKLCHoklch(56.12% 0.177 321.3)
XYZxyz(25.3178, 15.6620, 43.8003)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A249B2 #59B249
analogous
#6E49B2 #A249B2 #B2498E
triadic
#A249B2 #B2A249 #49B2A2
tetradic
#A249B2 #B26E49 #59B249 #498EB2
square
#A249B2 #B26E49 #59B249 #498EB2
split-complementary
#A249B2 #8EB249 #49B26E
monochromatic
#53255B #7B3787 #A249B2 #B973C5 #CF9ED7

Accessibility & contrast

On white

5.08
#A249B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A249B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A249B2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A249B2#FFFFFF#000000##FFFFFF
##A249B21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#A45977
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a249b2;
/* rgb */ color: rgb(162, 73, 178);
/* oklch */ color: oklch(56.1% 0.177 321.3);
Tailwind
colors: {
  custom: {
    50: '#c081c9',
    500: '#a249b2',
    950: '#000000',
  },
}
SCSS
$custom: #a249b2;
$custom-light: #c081c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a249b2",
  "rgb": {
    "r": 162,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 290.857,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.17715,
    "h": 321.3
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#A249B2
secondary
#9AC493
accent
#D25669
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A249B2

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

Preview Lab → · Contrast checker → · Palette generator →

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