#A246E9#A246E9

#A246E9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.3% C 0.235 H 306.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A246E9
RGBrgb(162, 70, 233)
HSLhsl(274, 79%, 59%)
HSVhsv(274, 70%, 91%)
CMYKcmyk(30.5%, 70%, 0%, 8.6%)
CIE-LABlab(49.43, 65.07, -66.80)
CIE-LCHlch(49.43, 93.25, 314.25°)
OKLaboklab(59.29% 0.1389 -0.1897)
OKLCHoklch(59.29% 0.235 306.2)
XYZxyz(31.7952, 17.9452, 78.8638)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246E9 #8DE946
analogous
#5146E9 #A246E9 #E946DF
triadic
#A246E9 #E9A246 #46E9A2
tetradic
#A246E9 #E95146 #8DE946 #46DFE9
square
#A246E9 #E95146 #8DE946 #46DFE9
split-complementary
#A246E9 #DFE946 #46E951
monochromatic
#6313A1 #851AD8 #A246E9 #BD7DF0 #D9B3F6

Accessibility & contrast

On white

4.58
#A246E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A246E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A246E9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246E9#FFFFFF#000000##000000
##A246E91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#966C93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a246e9;
/* rgb */ color: rgb(162, 70, 233);
/* oklch */ color: oklch(59.3% 0.235 306.2);
Tailwind
colors: {
  custom: {
    50: '#c381f1',
    500: '#a246e9',
    950: '#000000',
  },
}
SCSS
$custom: #a246e9;
$custom-light: #c381f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a246e9",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 273.865,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59292,
    "c": 0.23514,
    "h": 306.2
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#A246E9
secondary
#C1E5A6
accent
#F53387
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A246E9

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

Preview Lab → · Contrast checker → · Palette generator →

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