#A247E0#A247E0

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

Color values

HEX#A247E0
RGBrgb(162, 71, 224)
HSLhsl(276, 71%, 58%)
HSVhsv(276, 68%, 88%)
CMYKcmyk(27.7%, 68.3%, 0%, 12.2%)
CIE-LABlab(48.97, 62.66, -62.45)
CIE-LCHlch(48.97, 88.47, 315.09°)
OKLaboklab(58.77% 0.1391 -0.1769)
OKLCHoklch(58.77% 0.225 308.2)
XYZxyz(30.6053, 17.5701, 72.2856)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247E0 #85E047
analogous
#5547E0 #A247E0 #E047D2
triadic
#A247E0 #E0A247 #47E0A2
tetradic
#A247E0 #E05547 #85E047 #47D2E0
square
#A247E0 #E05547 #85E047 #47D2E0
split-complementary
#A247E0 #D2E047 #47E055
monochromatic
#621994 #8522C8 #A247E0 #BC7BE9 #D7B0F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A247E0#FFFFFF#000000##FFFFFF
##A247E01.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)
#0071E5
Deuteranopia (green-blind)
#2375DD
Tritanopia (blue-blind)
#98698E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a247e0;
/* rgb */ color: rgb(162, 71, 224);
/* oklch */ color: oklch(58.8% 0.225 308.2);
Tailwind
colors: {
  custom: {
    50: '#c281eb',
    500: '#a247e0',
    950: '#000000',
  },
}
SCSS
$custom: #a247e0;
$custom-light: #c281eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a247e0",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 275.686,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.22507,
    "h": 308.2
  },
  "luminance": 0.1757
}

Semantic roles & 50–950 ramp

primary
#A247E0
secondary
#BCE0A3
accent
#EE3A83
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A247E0

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

Preview Lab → · Contrast checker → · Palette generator →

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