#A246D3#A246D3

#A246D3 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.213 H 311.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A246D3
RGBrgb(162, 70, 211)
HSLhsl(279, 62%, 55%)
HSVhsv(279, 67%, 83%)
CMYKcmyk(23.2%, 66.8%, 0%, 17.3%)
CIE-LABlab(47.96, 60.31, -56.67)
CIE-LCHlch(47.96, 82.75, 316.78°)
OKLaboklab(57.78% 0.1415 -0.1599)
OKLCHoklch(57.78% 0.214 311.5)
XYZxyz(28.8461, 16.7656, 63.3319)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246D3 #77D346
analogous
#5C46D3 #A246D3 #D346BD
triadic
#A246D3 #D3A246 #46D3A2
tetradic
#A246D3 #D35C46 #77D346 #46BDD3
square
#A246D3 #D35C46 #77D346 #46BDD3
split-complementary
#A246D3 #BDD346 #46D35C
monochromatic
#5E1E80 #832AB2 #A246D3 #BB77DF #D4A9EB

Accessibility & contrast

On white

4.82
#A246D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A246D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246D3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246D3#FFFFFF#000000##FFFFFF
##A246D31.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#3674D0
Tritanopia (blue-blind)
#9C6387
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a246d3;
/* rgb */ color: rgb(162, 70, 211);
/* oklch */ color: oklch(57.8% 0.213 311.5);
Tailwind
colors: {
  custom: {
    50: '#c280e1',
    500: '#a246d3',
    950: '#000000',
  },
}
SCSS
$custom: #a246d3;
$custom-light: #c280e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a246d3",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 279.149,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.2135,
    "h": 311.5
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#A246D3
secondary
#B1D89D
accent
#E5437B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A246D3

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

Preview Lab → · Contrast checker → · Palette generator →

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