#A247EA#A247EA

#A247EA is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.5% C 0.235 H 305.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A247EA
RGBrgb(162, 71, 234)
HSLhsl(273, 80%, 60%)
HSVhsv(273, 70%, 92%)
CMYKcmyk(30.8%, 69.7%, 0%, 8.2%)
CIE-LABlab(49.65, 64.86, -67.01)
CIE-LCHlch(49.65, 93.26, 314.07°)
OKLaboklab(59.47% 0.1378 -0.1903)
OKLCHoklch(59.47% 0.235 305.9)
XYZxyz(32.0016, 18.1286, 79.6392)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247EA #8FEA47
analogous
#5147EA #A247EA #EA47E0
triadic
#A247EA #EAA247 #47EAA2
tetradic
#A247EA #EA5147 #8FEA47 #47E0EA
square
#A247EA #EA5147 #8FEA47 #47E0EA
split-complementary
#A247EA #E0EA47 #47EA51
monochromatic
#6413A4 #8519DB #A247EA #BE7EF0 #DAB5F7

Accessibility & contrast

On white

4.54
#A247EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A247EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A247EA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247EA#FFFFFF#000000##000000
##A247EA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#956D94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a247ea;
/* rgb */ color: rgb(162, 71, 234);
/* oklch */ color: oklch(59.5% 0.235 305.9);
Tailwind
colors: {
  custom: {
    50: '#c381f2',
    500: '#a247ea',
    950: '#000000',
  },
}
SCSS
$custom: #a247ea;
$custom-light: #c381f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a247ea",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 273.497,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59472,
    "c": 0.23496,
    "h": 305.9
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#A247EA
secondary
#C3E6A7
accent
#F63288
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A247EA

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

Preview Lab → · Contrast checker → · Palette generator →

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