#A247FA#A247FA

#A247FA is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.6% C 0.251 H 302.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A247FA
RGBrgb(162, 71, 250)
HSLhsl(271, 95%, 63%)
HSVhsv(271, 72%, 98%)
CMYKcmyk(35.2%, 71.6%, 0%, 2%)
CIE-LABlab(50.79, 68.44, -74.12)
CIE-LCHlch(50.79, 100.89, 312.72°)
OKLaboklab(60.64% 0.1352 -0.2112)
OKLCHoklch(60.64% 0.251 302.6)
XYZxyz(34.4048, 19.0899, 92.2961)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A247FA #9FFA47
analogous
#4847FA #A247FA #FA47F8
triadic
#A247FA #FAA247 #47FAA2
tetradic
#A247FA #FA4847 #9FFA47 #47F8FA
square
#A247FA #FA4847 #9FFA47 #47F8FA
split-complementary
#A247FA #F8FA47 #47FA48
monochromatic
#6505C1 #840BF8 #A247FA #C083FC #DEBEFD

Accessibility & contrast

On white

4.36
#A247FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A247FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A247FA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A247FA#FFFFFF#000000##000000
##A247FA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#90739D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a247fa;
/* rgb */ color: rgb(162, 71, 250);
/* oklch */ color: oklch(60.6% 0.251 302.6);
Tailwind
colors: {
  custom: {
    50: '#c482fd',
    500: '#a247fa',
    950: '#000000',
  },
}
SCSS
$custom: #a247fa;
$custom-light: #c482fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a247fa",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 250
  },
  "hsl": {
    "h": 270.503,
    "s": 94.709,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.25076,
    "h": 302.6
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#A247FA
secondary
#CEEFAE
accent
#E60071
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A247FA

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

Preview Lab → · Contrast checker → · Palette generator →

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