#A246E5#A246E5

#A246E5 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.0% C 0.231 H 307.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A246E5
RGBrgb(162, 70, 229)
HSLhsl(275, 75%, 59%)
HSVhsv(275, 69%, 90%)
CMYKcmyk(29.3%, 69.4%, 0%, 10.2%)
CIE-LABlab(49.15, 64.19, -64.99)
CIE-LCHlch(49.15, 91.35, 314.64°)
OKLaboklab(59.01% 0.1395 -0.1844)
OKLCHoklch(59.01% 0.231 307.1)
XYZxyz(31.2303, 17.7192, 75.8885)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246E5 #89E546
analogous
#5246E5 #A246E5 #E546D8
triadic
#A246E5 #E5A246 #46E5A2
tetradic
#A246E5 #E55246 #89E546 #46D8E5
square
#A246E5 #E55246 #89E546 #46D8E5
split-complementary
#A246E5 #D8E546 #46E552
monochromatic
#63169B #851DD0 #A246E5 #BD7CED #D8B1F4

Accessibility & contrast

On white

4.62
#A246E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A246E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A246E5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246E5#FFFFFF#000000##FFFFFF
##A246E51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#1476E2
Tritanopia (blue-blind)
#976A91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a246e5;
/* rgb */ color: rgb(162, 70, 229);
/* oklch */ color: oklch(59.0% 0.231 307.1);
Tailwind
colors: {
  custom: {
    50: '#c381ee',
    500: '#a246e5',
    950: '#000000',
  },
}
SCSS
$custom: #a246e5;
$custom-light: #c381ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a246e5",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 274.717,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.2312,
    "h": 307.1
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#A246E5
secondary
#BEE3A4
accent
#F23685
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A246E5

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

Preview Lab → · Contrast checker → · Palette generator →

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