#A546DF#A546DF

#A546DF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.0% C 0.226 H 309.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A546DF
RGBrgb(165, 70, 223)
HSLhsl(277, 71%, 57%)
HSVhsv(277, 69%, 87%)
CMYKcmyk(26%, 68.6%, 0%, 12.5%)
CIE-LABlab(49.14, 63.49, -61.59)
CIE-LCHlch(49.14, 88.46, 315.87°)
OKLaboklab(58.95% 0.1441 -0.1743)
OKLCHoklch(58.95% 0.226 309.6)
XYZxyz(31.0239, 17.7080, 71.5814)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A546DF #80DF46
analogous
#5946DF #A546DF #DF46CC
triadic
#A546DF #DFA546 #46DFA5
tetradic
#A546DF #DF5946 #80DF46 #46CCDF
square
#A546DF #DF5946 #80DF46 #46CCDF
split-complementary
#A546DF #CCDF46 #46DF59
monochromatic
#641991 #8822C6 #A546DF #BE7AE8 #D8AEF1

Accessibility & contrast

On white

4.62
#A546DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A546DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A546DF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A546DF#FFFFFF#000000##FFFFFF
##A546DF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#2A76DC
Tritanopia (blue-blind)
#9D678D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a546df;
/* rgb */ color: rgb(165, 70, 223);
/* oklch */ color: oklch(59.0% 0.226 309.6);
Tailwind
colors: {
  custom: {
    50: '#c481ea',
    500: '#a546df',
    950: '#000000',
  },
}
SCSS
$custom: #a546df;
$custom-light: #c481ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a546df",
  "rgb": {
    "r": 165,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 277.255,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.22615,
    "h": 309.6
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#A546DF
secondary
#B9DFA2
accent
#ED3B7E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A546DF

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

Preview Lab → · Contrast checker → · Palette generator →

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