#A246D5#A246D5

#A246D5 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.215 H 311.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A246D5
RGBrgb(162, 70, 213)
HSLhsl(279, 63%, 55%)
HSVhsv(279, 67%, 84%)
CMYKcmyk(23.9%, 67.1%, 0%, 16.5%)
CIE-LABlab(48.09, 60.73, -57.61)
CIE-LCHlch(48.09, 83.71, 316.51°)
OKLaboklab(57.91% 0.1413 -0.1627)
OKLCHoklch(57.91% 0.215 311)
XYZxyz(29.0984, 16.8665, 64.6606)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246D5 #79D546
analogous
#5A46D5 #A246D5 #D546C1
triadic
#A246D5 #D5A246 #46D5A2
tetradic
#A246D5 #D55A46 #79D546 #46C1D5
square
#A246D5 #D55A46 #79D546 #46C1D5
split-complementary
#A246D5 #C1D546 #46D55A
monochromatic
#5F1E83 #8329B5 #A246D5 #BB78E0 #D4AAEC

Accessibility & contrast

On white

4.80
#A246D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A246D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246D5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246D5#FFFFFF#000000##FFFFFF
##A246D51.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#3474D2
Tritanopia (blue-blind)
#9B6488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a246d5;
/* rgb */ color: rgb(162, 70, 213);
/* oklch */ color: oklch(57.9% 0.215 311.0);
Tailwind
colors: {
  custom: {
    50: '#c280e3',
    500: '#a246d5',
    950: '#000000',
  },
}
SCSS
$custom: #a246d5;
$custom-light: #c280e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a246d5",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 278.601,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.21547,
    "h": 311
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

primary
#A246D5
secondary
#B3D99E
accent
#E6427C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A246D5

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

Preview Lab → · Contrast checker → · Palette generator →

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