#A246D8#A246D8

#A246D8 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.218 H 310.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A246D8
RGBrgb(162, 70, 216)
HSLhsl(278, 65%, 56%)
HSVhsv(278, 68%, 85%)
CMYKcmyk(25%, 67.6%, 0%, 15.3%)
CIE-LABlab(48.29, 61.37, -59.01)
CIE-LCHlch(48.29, 85.14, 316.13°)
OKLaboklab(58.11% 0.141 -0.1668)
OKLCHoklch(58.11% 0.218 310.2)
XYZxyz(29.4827, 17.0202, 66.6845)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246D8 #7CD846
analogous
#5946D8 #A246D8 #D846C5
triadic
#A246D8 #D8A246 #46D8A2
tetradic
#A246D8 #D85946 #7CD846 #46C5D8
square
#A246D8 #D85946 #7CD846 #46C5D8
split-complementary
#A246D8 #C5D846 #46D859
monochromatic
#601C87 #8327BA #A246D8 #BB79E3 #D5ABED

Accessibility & contrast

On white

4.77
#A246D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A246D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246D8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246D8#FFFFFF#000000##FFFFFF
##A246D81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#2F74D5
Tritanopia (blue-blind)
#9B658A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a246d8;
/* rgb */ color: rgb(162, 70, 216);
/* oklch */ color: oklch(58.1% 0.218 310.2);
Tailwind
colors: {
  custom: {
    50: '#c280e5',
    500: '#a246d8',
    950: '#000000',
  },
}
SCSS
$custom: #a246d8;
$custom-light: #c280e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a246d8",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 277.808,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58114,
    "c": 0.21841,
    "h": 310.2
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#A246D8
secondary
#B5DB9F
accent
#E8407E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A246D8

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

Preview Lab → · Contrast checker → · Palette generator →

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