#A246D9#A246D9

#A246D9 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.219 H 310.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A246D9
RGBrgb(162, 70, 217)
HSLhsl(278, 66%, 56%)
HSVhsv(278, 68%, 85%)
CMYKcmyk(25.3%, 67.7%, 0%, 14.9%)
CIE-LABlab(48.35, 61.59, -59.47)
CIE-LCHlch(48.35, 85.61, 316.00°)
OKLaboklab(58.18% 0.1409 -0.1682)
OKLCHoklch(58.18% 0.219 310)
XYZxyz(29.6124, 17.0721, 67.3675)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246D9 #7DD946
analogous
#5946D9 #A246D9 #D946C7
triadic
#A246D9 #D9A246 #46D9A2
tetradic
#A246D9 #D95946 #7DD946 #46C7D9
square
#A246D9 #D95946 #7DD946 #46C7D9
split-complementary
#A246D9 #C7D946 #46D959
monochromatic
#601C89 #8426BB #A246D9 #BC79E3 #D5ACEE

Accessibility & contrast

On white

4.76
#A246D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A246D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246D9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246D9#FFFFFF#000000##FFFFFF
##A246D91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2E74D6
Tritanopia (blue-blind)
#9A658A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a246d9;
/* rgb */ color: rgb(162, 70, 217);
/* oklch */ color: oklch(58.2% 0.219 310.0);
Tailwind
colors: {
  custom: {
    50: '#c280e5',
    500: '#a246d9',
    950: '#000000',
  },
}
SCSS
$custom: #a246d9;
$custom-light: #c280e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a246d9",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 277.551,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58181,
    "c": 0.2194,
    "h": 310
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#A246D9
secondary
#B6DC9F
accent
#E93F7F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A246D9

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

Preview Lab → · Contrast checker → · Palette generator →

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