#A246E2#A246E2

#A246E2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.228 H 307.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A246E2
RGBrgb(162, 70, 226)
HSLhsl(275, 73%, 58%)
HSVhsv(275, 69%, 89%)
CMYKcmyk(28.3%, 69%, 0%, 11.4%)
CIE-LABlab(48.95, 63.53, -63.62)
CIE-LCHlch(48.95, 89.91, 314.96°)
OKLaboklab(58.8% 0.1399 -0.1803)
OKLCHoklch(58.8% 0.228 307.8)
XYZxyz(30.8151, 17.5531, 73.7015)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246E2 #86E246
analogous
#5446E2 #A246E2 #E246D4
triadic
#A246E2 #E2A246 #46E2A2
tetradic
#A246E2 #E25446 #86E246 #46D4E2
square
#A246E2 #E25446 #86E246 #46D4E2
split-complementary
#A246E2 #D4E246 #46E254
monochromatic
#621896 #8520CB #A246E2 #BD7BEA #D7B0F3

Accessibility & contrast

On white

4.66
#A246E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A246E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A246E2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246E2#FFFFFF#000000##FFFFFF
##A246E21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#1D75DF
Tritanopia (blue-blind)
#98698F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a246e2;
/* rgb */ color: rgb(162, 70, 226);
/* oklch */ color: oklch(58.8% 0.228 307.8);
Tailwind
colors: {
  custom: {
    50: '#c280ec',
    500: '#a246e2',
    950: '#000000',
  },
}
SCSS
$custom: #a246e2;
$custom-light: #c280ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a246e2",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 275.385,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.22825,
    "h": 307.8
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#A246E2
secondary
#BCE1A3
accent
#F03883
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A246E2

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

Preview Lab → · Contrast checker → · Palette generator →

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