#A847F0#A847F0

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

Color values

HEX#A847F0
RGBrgb(168, 71, 240)
HSLhsl(274, 85%, 61%)
HSVhsv(274, 70%, 94%)
CMYKcmyk(30%, 70.4%, 0%, 5.9%)
CIE-LABlab(50.83, 67.31, -68.43)
CIE-LCHlch(50.83, 95.99, 314.53°)
OKLaboklab(60.61% 0.1447 -0.1943)
OKLCHoklch(60.61% 0.242 306.7)
XYZxyz(34.1265, 19.1230, 84.3145)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A847F0 #8FF047
analogous
#5347F0 #A847F0 #F047E3
triadic
#A847F0 #F0A847 #47F0A8
tetradic
#A847F0 #F05347 #8FF047 #47E3F0
square
#A847F0 #F05347 #8FF047 #47E3F0
split-complementary
#A847F0 #E3F047 #47F053
monochromatic
#6A0EAE #8D13E7 #A847F0 #C380F5 #DEB8F9

Accessibility & contrast

On white

4.35
#A847F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A847F0#FFFFFF#000000##000000
##A847F01.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F5
Deuteranopia (green-blind)
#007AEC
Tritanopia (blue-blind)
#9C6E97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a847f0;
/* rgb */ color: rgb(168, 71, 240);
/* oklch */ color: oklch(60.6% 0.242 306.7);
Tailwind
colors: {
  custom: {
    50: '#c782f6',
    500: '#a847f0',
    950: '#000000',
  },
}
SCSS
$custom: #a847f0;
$custom-light: #c782f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a847f0",
  "rgb": {
    "r": 168,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 274.438,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60605,
    "c": 0.24228,
    "h": 306.7
  },
  "luminance": 0.19123
}

Semantic roles & 50–950 ramp

primary
#A847F0
secondary
#C5E9AA
accent
#E10462
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A847F0

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

Preview Lab → · Contrast checker → · Palette generator →

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