#A246D7#A246D7

#A246D7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.217 H 310.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A246D7
RGBrgb(162, 70, 215)
HSLhsl(278, 64%, 56%)
HSVhsv(278, 67%, 84%)
CMYKcmyk(24.7%, 67.4%, 0%, 15.7%)
CIE-LABlab(48.22, 61.16, -58.54)
CIE-LCHlch(48.22, 84.66, 316.25°)
OKLaboklab(58.05% 0.1411 -0.1654)
OKLCHoklch(58.05% 0.217 310.5)
XYZxyz(29.3538, 16.9686, 66.0058)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246D7 #7BD746
analogous
#5946D7 #A246D7 #D746C3
triadic
#A246D7 #D7A246 #46D7A2
tetradic
#A246D7 #D75946 #7BD746 #46C3D7
square
#A246D7 #D75946 #7BD746 #46C3D7
split-complementary
#A246D7 #C3D746 #46D759
monochromatic
#5F1D86 #8328B8 #A246D7 #BB78E2 #D5ABED

Accessibility & contrast

On white

4.78
#A246D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A246D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246D7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246D7#FFFFFF#000000##FFFFFF
##A246D71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#3174D4
Tritanopia (blue-blind)
#9B6589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a246d7;
/* rgb */ color: rgb(162, 70, 215);
/* oklch */ color: oklch(58.0% 0.217 310.5);
Tailwind
colors: {
  custom: {
    50: '#c280e4',
    500: '#a246d7',
    950: '#000000',
  },
}
SCSS
$custom: #a246d7;
$custom-light: #c280e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a246d7",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 278.069,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58046,
    "c": 0.21743,
    "h": 310.5
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#A246D7
secondary
#B4DA9E
accent
#E7407D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A246D7

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

Preview Lab → · Contrast checker → · Palette generator →

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