#A246D1#A246D1

#A246D1 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.212 H 312.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A246D1
RGBrgb(162, 70, 209)
HSLhsl(280, 60%, 55%)
HSVhsv(280, 67%, 82%)
CMYKcmyk(22.5%, 66.5%, 0%, 18%)
CIE-LABlab(47.84, 59.88, -55.73)
CIE-LCHlch(47.84, 81.80, 317.06°)
OKLaboklab(57.65% 0.1416 -0.1572)
OKLCHoklch(57.65% 0.212 312)
XYZxyz(28.5970, 16.6659, 62.0196)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246D1 #75D146
analogous
#5D46D1 #A246D1 #D146BB
triadic
#A246D1 #D1A246 #46D1A2
tetradic
#A246D1 #D15D46 #75D146 #46BBD1
square
#A246D1 #D15D46 #75D146 #46BBD1
split-complementary
#A246D1 #BBD146 #46D15D
monochromatic
#5E1F7D #822BAE #A246D1 #BB77DD #D3A8E9

Accessibility & contrast

On white

4.85
#A246D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A246D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246D1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246D1#FFFFFF#000000##FFFFFF
##A246D11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#3873CE
Tritanopia (blue-blind)
#9D6286
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a246d1;
/* rgb */ color: rgb(162, 70, 209);
/* oklch */ color: oklch(57.6% 0.212 312.0);
Tailwind
colors: {
  custom: {
    50: '#c180e0',
    500: '#a246d1',
    950: '#000000',
  },
}
SCSS
$custom: #a246d1;
$custom-light: #c180e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a246d1",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 279.712,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.21154,
    "h": 312
  },
  "luminance": 0.16665
}

Semantic roles & 50–950 ramp

primary
#A246D1
secondary
#B0D79C
accent
#E3447A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A246D1

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

Preview Lab → · Contrast checker → · Palette generator →

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