#A045DB#A045DB

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

Color values

HEX#A045DB
RGBrgb(160, 69, 219)
HSLhsl(276, 68%, 56%)
HSVhsv(276, 68%, 86%)
CMYKcmyk(26.9%, 68.5%, 0%, 14.1%)
CIE-LABlab(48.06, 62.04, -61.09)
CIE-LCHlch(48.06, 87.07, 315.44°)
OKLaboklab(57.96% 0.1392 -0.173)
OKLCHoklch(57.96% 0.222 308.8)
XYZxyz(29.4089, 16.8448, 68.7062)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045DB #80DB45
analogous
#5545DB #A045DB #DB45CB
triadic
#A045DB #DBA045 #45DBA0
tetradic
#A045DB #DB5545 #80DB45 #45CBDB
square
#A045DB #DB5545 #80DB45 #45CBDB
split-complementary
#A045DB #CBDB45 #45DB55
monochromatic
#5F1B8B #8225BE #A045DB #BA78E5 #D4ACEF

Accessibility & contrast

On white

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

On black

4.37
#A045DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A045DB#FFFFFF#000000##FFFFFF
##A045DB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#2573D8
Tritanopia (blue-blind)
#97668B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a045db;
/* rgb */ color: rgb(160, 69, 219);
/* oklch */ color: oklch(58.0% 0.222 308.8);
Tailwind
colors: {
  custom: {
    50: '#c17fe7',
    500: '#a045db',
    950: '#000000',
  },
}
SCSS
$custom: #a045db;
$custom-light: #c17fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a045db",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 276.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.22201,
    "h": 308.8
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#A045DB
secondary
#B7DD9F
accent
#EA3D81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A045DB

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

Preview Lab → · Contrast checker → · Palette generator →

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