#A246DD#A246DD

#A246DD is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.5% C 0.223 H 309.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A246DD
RGBrgb(162, 70, 221)
HSLhsl(277, 69%, 57%)
HSVhsv(277, 68%, 87%)
CMYKcmyk(26.7%, 68.3%, 0%, 13.3%)
CIE-LABlab(48.61, 62.45, -61.33)
CIE-LCHlch(48.61, 87.52, 315.52°)
OKLaboklab(58.45% 0.1405 -0.1736)
OKLCHoklch(58.45% 0.223 309)
XYZxyz(30.1390, 17.2827, 70.1408)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246DD #81DD46
analogous
#5646DD #A246DD #DD46CD
triadic
#A246DD #DDA246 #46DDA2
tetradic
#A246DD #DD5646 #81DD46 #46CDDD
square
#A246DD #DD5646 #81DD46 #46CDDD
split-complementary
#A246DD #CDDD46 #46DD56
monochromatic
#611A8E #8424C2 #A246DD #BC7AE7 #D6ADF0

Accessibility & contrast

On white

4.71
#A246DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A246DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246DD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246DD#FFFFFF#000000##FFFFFF
##A246DD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#2775DA
Tritanopia (blue-blind)
#99678C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a246dd;
/* rgb */ color: rgb(162, 70, 221);
/* oklch */ color: oklch(58.5% 0.223 309.0);
Tailwind
colors: {
  custom: {
    50: '#c280e8',
    500: '#a246dd',
    950: '#000000',
  },
}
SCSS
$custom: #a246dd;
$custom-light: #c280e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a246dd",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 276.556,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58453,
    "c": 0.22333,
    "h": 309
  },
  "luminance": 0.17282
}

Semantic roles & 50–950 ramp

primary
#A246DD
secondary
#B9DEA1
accent
#EC3C81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A246DD

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

Preview Lab → · Contrast checker → · Palette generator →

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