#A845DB#A845DB

#A845DB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.224 H 311.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A845DB
RGBrgb(168, 69, 219)
HSLhsl(280, 68%, 56%)
HSVhsv(280, 68%, 86%)
CMYKcmyk(23.3%, 68.5%, 0%, 14.1%)
CIE-LABlab(49.13, 63.68, -59.32)
CIE-LCHlch(49.13, 87.03, 317.03°)
OKLaboklab(58.95% 0.1494 -0.1675)
OKLCHoklch(58.95% 0.224 311.7)
XYZxyz(31.0604, 17.6963, 68.7836)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A845DB #78DB45
analogous
#5D45DB #A845DB #DB45C3
triadic
#A845DB #DBA845 #45DBA8
tetradic
#A845DB #DB5D45 #78DB45 #45C3DB
square
#A845DB #DB5D45 #78DB45 #45C3DB
split-complementary
#A845DB #C3DB45 #45DB5D
monochromatic
#651B8B #8A25BE #A845DB #C078E5 #D8ACEF

Accessibility & contrast

On white

4.63
#A845DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A845DB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A845DB#FFFFFF#000000##FFFFFF
##A845DB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#A2658B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a845db;
/* rgb */ color: rgb(168, 69, 219);
/* oklch */ color: oklch(58.9% 0.224 311.7);
Tailwind
colors: {
  custom: {
    50: '#c680e7',
    500: '#a845db',
    950: '#000000',
  },
}
SCSS
$custom: #a845db;
$custom-light: #c680e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a845db",
  "rgb": {
    "r": 168,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 279.6,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.22444,
    "h": 311.7
  },
  "luminance": 0.17696
}

Semantic roles & 50–950 ramp

primary
#A845DB
secondary
#B4DD9F
accent
#EA3D78
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A845DB

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

Preview Lab → · Contrast checker → · Palette generator →

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