#A147E2#A147E2

#A147E2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.227 H 307.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A147E2
RGBrgb(161, 71, 226)
HSLhsl(275, 73%, 58%)
HSVhsv(275, 69%, 89%)
CMYKcmyk(28.8%, 68.6%, 0%, 11.4%)
CIE-LABlab(48.98, 62.90, -63.59)
CIE-LCHlch(48.98, 89.44, 314.69°)
OKLaboklab(58.79% 0.1376 -0.1803)
OKLCHoklch(58.79% 0.227 307.4)
XYZxyz(30.6758, 17.5749, 73.7130)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A147E2 #88E247
analogous
#5347E2 #A147E2 #E247D5
triadic
#A147E2 #E2A147 #47E2A1
tetradic
#A147E2 #E25347 #88E247 #47D5E2
square
#A147E2 #E25347 #88E247 #47D5E2
split-complementary
#A147E2 #D5E247 #47E253
monochromatic
#621897 #8420CC #A147E2 #BC7CEA #D7B1F3

Accessibility & contrast

On white

4.65
#A147E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A147E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A147E2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A147E2#FFFFFF#000000##FFFFFF
##A147E21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#966A8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a147e2;
/* rgb */ color: rgb(161, 71, 226);
/* oklch */ color: oklch(58.8% 0.227 307.4);
Tailwind
colors: {
  custom: {
    50: '#c281ec',
    500: '#a147e2',
    950: '#000000',
  },
}
SCSS
$custom: #a147e2;
$custom-light: #c281ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a147e2",
  "rgb": {
    "r": 161,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 274.839,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5879,
    "c": 0.22679,
    "h": 307.4
  },
  "luminance": 0.17575
}

Semantic roles & 50–950 ramp

primary
#A147E2
secondary
#BDE1A4
accent
#EF3885
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A147E2

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

Preview Lab → · Contrast checker → · Palette generator →

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