#A246D6#A246D6

#A246D6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.216 H 310.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A246D6
RGBrgb(162, 70, 214)
HSLhsl(278, 64%, 56%)
HSVhsv(278, 67%, 84%)
CMYKcmyk(24.3%, 67.3%, 0%, 16.1%)
CIE-LABlab(48.16, 60.94, -58.07)
CIE-LCHlch(48.16, 84.18, 316.38°)
OKLaboklab(57.98% 0.1412 -0.164)
OKLCHoklch(57.98% 0.216 310.7)
XYZxyz(29.2257, 16.9174, 65.3311)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246D6 #7AD646
analogous
#5A46D6 #A246D6 #D646C2
triadic
#A246D6 #D6A246 #46D6A2
tetradic
#A246D6 #D65A46 #7AD646 #46C2D6
square
#A246D6 #D65A46 #7AD646 #46C2D6
split-complementary
#A246D6 #C2D646 #46D65A
monochromatic
#5F1D84 #8328B6 #A246D6 #BB78E1 #D4AAEC

Accessibility & contrast

On white

4.79
#A246D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A246D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246D6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246D6#FFFFFF#000000##FFFFFF
##A246D61.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#3274D3
Tritanopia (blue-blind)
#9B6489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a246d6;
/* rgb */ color: rgb(162, 70, 214);
/* oklch */ color: oklch(58.0% 0.216 310.7);
Tailwind
colors: {
  custom: {
    50: '#c280e3',
    500: '#a246d6',
    950: '#000000',
  },
}
SCSS
$custom: #a246d6;
$custom-light: #c280e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a246d6",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 278.333,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.21645,
    "h": 310.7
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#A246D6
secondary
#B4DA9E
accent
#E7417D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A246D6

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

Preview Lab → · Contrast checker → · Palette generator →

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