#A047F1#A047F1

#A047F1 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.7% C 0.241 H 303.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A047F1
RGBrgb(160, 71, 241)
HSLhsl(271, 86%, 61%)
HSVhsv(271, 71%, 95%)
CMYKcmyk(33.6%, 70.5%, 0%, 5.5%)
CIE-LABlab(49.90, 66.05, -70.56)
CIE-LCHlch(49.90, 96.65, 313.11°)
OKLaboklab(59.75% 0.1341 -0.2008)
OKLCHoklch(59.75% 0.241 303.7)
XYZxyz(32.6240, 18.3310, 85.0216)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A047F1 #98F147
analogous
#4B47F1 #A047F1 #F147ED
triadic
#A047F1 #F1A047 #47F1A0
tetradic
#A047F1 #F14B47 #98F147 #47EDF1
square
#A047F1 #F14B47 #98F147 #47EDF1
split-complementary
#A047F1 #EDF147 #47F14B
monochromatic
#630DB0 #8212E9 #A047F1 #BD80F5 #DBB9FA

Accessibility & contrast

On white

4.50
#A047F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#A047F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A047F1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A047F1#FFFFFF#000000##000000
##A047F11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F6
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#907098
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a047f1;
/* rgb */ color: rgb(160, 71, 241);
/* oklch */ color: oklch(59.7% 0.241 303.7);
Tailwind
colors: {
  custom: {
    50: '#c281f7',
    500: '#a047f1',
    950: '#000000',
  },
}
SCSS
$custom: #a047f1;
$custom-light: #c281f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a047f1",
  "rgb": {
    "r": 160,
    "g": 71,
    "b": 241
  },
  "hsl": {
    "h": 271.412,
    "s": 85.859,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.24147,
    "h": 303.7
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#A047F1
secondary
#C8EAAA
accent
#E2036D
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A047F1

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

Preview Lab → · Contrast checker → · Palette generator →

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