#A249E2#A249E2

#A249E2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.1% C 0.225 H 307.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A249E2
RGBrgb(162, 73, 226)
HSLhsl(275, 73%, 59%)
HSVhsv(275, 68%, 89%)
CMYKcmyk(28.3%, 67.7%, 0%, 11.4%)
CIE-LABlab(49.42, 62.22, -62.86)
CIE-LCHlch(49.42, 88.44, 314.70°)
OKLaboklab(59.14% 0.1368 -0.1781)
OKLCHoklch(59.14% 0.225 307.5)
XYZxyz(31.0074, 17.9379, 73.7656)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A249E2 #89E249
analogous
#5549E2 #A249E2 #E249D5
triadic
#A249E2 #E2A249 #49E2A2
tetradic
#A249E2 #E25549 #89E249 #49D5E2
square
#A249E2 #E25549 #89E249 #49D5E2
split-complementary
#A249E2 #D5E249 #49E255
monochromatic
#631898 #8521CD #A249E2 #BD7EEA #D8B3F3

Accessibility & contrast

On white

4.58
#A249E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A249E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A249E2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A249E2#FFFFFF#000000##000000
##A249E21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#2376DF
Tritanopia (blue-blind)
#986B90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a249e2;
/* rgb */ color: rgb(162, 73, 226);
/* oklch */ color: oklch(59.1% 0.225 307.5);
Tailwind
colors: {
  custom: {
    50: '#c282ec',
    500: '#a249e2',
    950: '#000000',
  },
}
SCSS
$custom: #a249e2;
$custom-light: #c282ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a249e2",
  "rgb": {
    "r": 162,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 274.902,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59135,
    "c": 0.2246,
    "h": 307.5
  },
  "luminance": 0.17937
}

Semantic roles & 50–950 ramp

primary
#A249E2
secondary
#BEE2A5
accent
#EF3985
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A249E2

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

Preview Lab → · Contrast checker → · Palette generator →

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