#A247E6#A247E6

#A247E6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.2% C 0.231 H 306.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A247E6
RGBrgb(162, 71, 230)
HSLhsl(274, 76%, 59%)
HSVhsv(274, 69%, 90%)
CMYKcmyk(29.6%, 69.1%, 0%, 9.8%)
CIE-LABlab(49.38, 63.98, -65.20)
CIE-LCHlch(49.38, 91.34, 314.46°)
OKLaboklab(59.19% 0.1384 -0.185)
OKLCHoklch(59.19% 0.231 306.8)
XYZxyz(31.4334, 17.9014, 76.6469)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247E6 #8BE647
analogous
#5347E6 #A247E6 #E647DA
triadic
#A247E6 #E6A247 #47E6A2
tetradic
#A247E6 #E65347 #8BE647 #47DAE6
square
#A247E6 #E65347 #8BE647 #47DAE6
split-complementary
#A247E6 #DAE647 #47E653
monochromatic
#63159D #851DD3 #A247E6 #BD7DED #D8B3F5

Accessibility & contrast

On white

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

On black

4.58
#A247E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A247E6
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247E6#FFFFFF#000000##000000
##A247E61.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#1376E3
Tritanopia (blue-blind)
#976B92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a247e6;
/* rgb */ color: rgb(162, 71, 230);
/* oklch */ color: oklch(59.2% 0.231 306.8);
Tailwind
colors: {
  custom: {
    50: '#c381ef',
    500: '#a247e6',
    950: '#000000',
  },
}
SCSS
$custom: #a247e6;
$custom-light: #c381ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a247e6",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 274.34,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59189,
    "c": 0.23101,
    "h": 306.8
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#A247E6
secondary
#C0E4A5
accent
#F33586
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A247E6

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

Preview Lab → · Contrast checker → · Palette generator →

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