#A246D2#A246D2

#A246D2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.213 H 311.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A246D2
RGBrgb(162, 70, 210)
HSLhsl(279, 61%, 55%)
HSVhsv(279, 67%, 82%)
CMYKcmyk(22.9%, 66.7%, 0%, 17.6%)
CIE-LABlab(47.90, 60.10, -56.20)
CIE-LCHlch(47.90, 82.28, 316.92°)
OKLaboklab(57.71% 0.1415 -0.1585)
OKLCHoklch(57.71% 0.213 311.8)
XYZxyz(28.7212, 16.7156, 62.6737)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246D2 #76D246
analogous
#5C46D2 #A246D2 #D246BC
triadic
#A246D2 #D2A246 #46D2A2
tetradic
#A246D2 #D25C46 #76D246 #46BCD2
square
#A246D2 #D25C46 #76D246 #46BCD2
split-complementary
#A246D2 #BCD246 #46D25C
monochromatic
#5E1F7F #822BB0 #A246D2 #BB77DE #D3A8EA

Accessibility & contrast

On white

4.84
#A246D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A246D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246D2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246D2#FFFFFF#000000##FFFFFF
##A246D21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3773CF
Tritanopia (blue-blind)
#9C6386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a246d2;
/* rgb */ color: rgb(162, 70, 210);
/* oklch */ color: oklch(57.7% 0.213 311.8);
Tailwind
colors: {
  custom: {
    50: '#c280e0',
    500: '#a246d2',
    950: '#000000',
  },
}
SCSS
$custom: #a246d2;
$custom-light: #c280e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a246d2",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 279.429,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57714,
    "c": 0.21252,
    "h": 311.8
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#A246D2
secondary
#B1D79C
accent
#E4447B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A246D2

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

Preview Lab → · Contrast checker → · Palette generator →

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