#A247EF#A247EF

#A247EF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.8% C 0.240 H 304.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A247EF
RGBrgb(162, 71, 239)
HSLhsl(273, 84%, 61%)
HSVhsv(273, 70%, 94%)
CMYKcmyk(32.2%, 70.3%, 0%, 6.3%)
CIE-LABlab(50.00, 65.97, -69.25)
CIE-LCHlch(50.00, 95.64, 313.61°)
OKLaboklab(59.83% 0.1371 -0.1969)
OKLCHoklch(59.83% 0.24 304.8)
XYZxyz(32.7300, 18.4200, 83.4758)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247EF #94EF47
analogous
#4E47EF #A247EF #EF47E8
triadic
#A247EF #EFA247 #47EFA2
tetradic
#A247EF #EF4E47 #94EF47 #47E8EF
square
#A247EF #EF4E47 #94EF47 #47E8EF
split-complementary
#A247EF #E8EF47 #47EF4E
monochromatic
#640FAD #8514E5 #A247EF #BE7FF4 #DBB8F9

Accessibility & contrast

On white

4.48
#A247EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A247EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A247EF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247EF#FFFFFF#000000##000000
##A247EF1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#946F97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a247ef;
/* rgb */ color: rgb(162, 71, 239);
/* oklch */ color: oklch(59.8% 0.240 304.8);
Tailwind
colors: {
  custom: {
    50: '#c381f5',
    500: '#a247ef',
    950: '#000000',
  },
}
SCSS
$custom: #a247ef;
$custom-light: #c381f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a247ef",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 239
  },
  "hsl": {
    "h": 272.5,
    "s": 84,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.23991,
    "h": 304.8
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#A247EF
secondary
#C6E9A9
accent
#E0056A
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A247EF

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

Preview Lab → · Contrast checker → · Palette generator →

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