#A246D4#A246D4

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

Color values

HEX#A246D4
RGBrgb(162, 70, 212)
HSLhsl(279, 62%, 55%)
HSVhsv(279, 67%, 83%)
CMYKcmyk(23.6%, 67%, 0%, 16.9%)
CIE-LABlab(48.03, 60.52, -57.14)
CIE-LCHlch(48.03, 83.23, 316.65°)
OKLaboklab(57.85% 0.1414 -0.1613)
OKLCHoklch(57.85% 0.214 311.2)
XYZxyz(28.9719, 16.8159, 63.9942)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246D4 #78D446
analogous
#5B46D4 #A246D4 #D446BF
triadic
#A246D4 #D4A246 #46D4A2
tetradic
#A246D4 #D45B46 #78D446 #46BFD4
square
#A246D4 #D45B46 #78D446 #46BFD4
split-complementary
#A246D4 #BFD446 #46D45B
monochromatic
#5E1E81 #832AB3 #A246D4 #BB78E0 #D4A9EB

Accessibility & contrast

On white

4.81
#A246D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A246D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246D4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246D4#FFFFFF#000000##FFFFFF
##A246D41.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#3574D1
Tritanopia (blue-blind)
#9C6387
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a246d4;
/* rgb */ color: rgb(162, 70, 212);
/* oklch */ color: oklch(57.8% 0.214 311.2);
Tailwind
colors: {
  custom: {
    50: '#c280e2',
    500: '#a246d4',
    950: '#000000',
  },
}
SCSS
$custom: #a246d4;
$custom-light: #c280e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a246d4",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 278.873,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.21448,
    "h": 311.2
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

primary
#A246D4
secondary
#B2D99D
accent
#E5427C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A246D4

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

Preview Lab → · Contrast checker → · Palette generator →

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