#A246DB#A246DB

#A246DB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.221 H 309.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A246DB
RGBrgb(162, 70, 219)
HSLhsl(277, 67%, 57%)
HSVhsv(277, 68%, 86%)
CMYKcmyk(26%, 68%, 0%, 14.1%)
CIE-LABlab(48.48, 62.02, -60.40)
CIE-LCHlch(48.48, 86.57, 315.76°)
OKLaboklab(58.32% 0.1407 -0.1709)
OKLCHoklch(58.32% 0.221 309.5)
XYZxyz(29.8741, 17.1767, 68.7458)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246DB #7FDB46
analogous
#5846DB #A246DB #DB46CA
triadic
#A246DB #DBA246 #46DBA2
tetradic
#A246DB #DB5846 #7FDB46 #46CADB
square
#A246DB #DB5846 #7FDB46 #46CADB
split-complementary
#A246DB #CADB46 #46DB58
monochromatic
#601B8B #8425BF #A246DB #BC79E5 #D6ACEF

Accessibility & contrast

On white

4.73
#A246DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A246DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246DB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246DB#FFFFFF#000000##FFFFFF
##A246DB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#2B74D8
Tritanopia (blue-blind)
#9A668B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a246db;
/* rgb */ color: rgb(162, 70, 219);
/* oklch */ color: oklch(58.3% 0.221 309.5);
Tailwind
colors: {
  custom: {
    50: '#c280e7',
    500: '#a246db',
    950: '#000000',
  },
}
SCSS
$custom: #a246db;
$custom-light: #c280e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a246db",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 277.047,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.22136,
    "h": 309.5
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#A246DB
secondary
#B7DDA0
accent
#EA3D80
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A246DB

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

Preview Lab → · Contrast checker → · Palette generator →

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