#A246EF#A246EF

#A246EF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.7% C 0.241 H 304.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A246EF
RGBrgb(162, 70, 239)
HSLhsl(273, 84%, 61%)
HSVhsv(273, 71%, 94%)
CMYKcmyk(32.2%, 70.7%, 0%, 6.3%)
CIE-LABlab(49.85, 66.40, -69.50)
CIE-LCHlch(49.85, 96.12, 313.69°)
OKLaboklab(59.72% 0.138 -0.1976)
OKLCHoklch(59.72% 0.241 304.9)
XYZxyz(32.6669, 18.2939, 83.4547)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246EF #93EF46
analogous
#4D46EF #A246EF #EF46E7
triadic
#A246EF #EFA246 #46EFA2
tetradic
#A246EF #EF4D46 #93EF46 #46E7EF
square
#A246EF #EF4D46 #93EF46 #46E7EF
split-complementary
#A246EF #E7EF46 #46EF4D
monochromatic
#640FAC #8514E4 #A246EF #BE7EF4 #DBB7F9

Accessibility & contrast

On white

4.51
#A246EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A246EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A246EF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246EF#FFFFFF#000000##000000
##A246EF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a246ef;
/* rgb */ color: rgb(162, 70, 239);
/* oklch */ color: oklch(59.7% 0.241 304.9);
Tailwind
colors: {
  custom: {
    50: '#c381f5',
    500: '#a246ef',
    950: '#000000',
  },
}
SCSS
$custom: #a246ef;
$custom-light: #c381f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a246ef",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 272.663,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59724,
    "c": 0.24103,
    "h": 304.9
  },
  "luminance": 0.18294
}

Semantic roles & 50–950 ramp

primary
#A246EF
secondary
#C6E9A8
accent
#E10569
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A246EF

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

Preview Lab → · Contrast checker → · Palette generator →

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