#A246EB#A246EB

#A246EB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.4% C 0.237 H 305.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A246EB
RGBrgb(162, 70, 235)
HSLhsl(273, 80%, 60%)
HSVhsv(273, 70%, 92%)
CMYKcmyk(31.1%, 70.2%, 0%, 7.8%)
CIE-LABlab(49.57, 65.51, -67.70)
CIE-LCHlch(49.57, 94.21, 314.06°)
OKLaboklab(59.44% 0.1386 -0.1923)
OKLCHoklch(59.44% 0.237 305.8)
XYZxyz(32.0825, 18.0601, 80.3770)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246EB #8FEB46
analogous
#5046EB #A246EB #EB46E1
triadic
#A246EB #EBA246 #46EBA2
tetradic
#A246EB #EB5046 #8FEB46 #46E1EB
square
#A246EB #EB5046 #8FEB46 #46E1EB
split-complementary
#A246EB #E1EB46 #46EB50
monochromatic
#6412A5 #8518DC #A246EB #BE7DF1 #DAB4F7

Accessibility & contrast

On white

4.55
#A246EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A246EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A246EB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246EB#FFFFFF#000000##000000
##A246EB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#956C94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a246eb;
/* rgb */ color: rgb(162, 70, 235);
/* oklch */ color: oklch(59.4% 0.237 305.8);
Tailwind
colors: {
  custom: {
    50: '#c381f2',
    500: '#a246eb',
    950: '#000000',
  },
}
SCSS
$custom: #a246eb;
$custom-light: #c381f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a246eb",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 273.455,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59435,
    "c": 0.2371,
    "h": 305.8
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#A246EB
secondary
#C3E6A7
accent
#F73188
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A246EB

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

Preview Lab → · Contrast checker → · Palette generator →

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