#A745DB#A745DB

#A745DB is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.224 H 311.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A745DB
RGBrgb(167, 69, 219)
HSLhsl(279, 68%, 56%)
HSVhsv(279, 68%, 86%)
CMYKcmyk(23.7%, 68.5%, 0%, 14.1%)
CIE-LABlab(48.99, 63.48, -59.55)
CIE-LCHlch(48.99, 87.03, 316.83°)
OKLaboklab(58.82% 0.1481 -0.1682)
OKLCHoklch(58.82% 0.224 311.4)
XYZxyz(30.8483, 17.5870, 68.7737)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745DB #79DB45
analogous
#5C45DB #A745DB #DB45C4
triadic
#A745DB #DBA745 #45DBA7
tetradic
#A745DB #DB5C45 #79DB45 #45C4DB
square
#A745DB #DB5C45 #79DB45 #45C4DB
split-complementary
#A745DB #C4DB45 #45DB5C
monochromatic
#641B8B #8925BE #A745DB #BF78E5 #D8ACEF

Accessibility & contrast

On white

4.65
#A745DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A745DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A745DB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745DB#FFFFFF#000000##FFFFFF
##A745DB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#3276D8
Tritanopia (blue-blind)
#A1658B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a745db;
/* rgb */ color: rgb(167, 69, 219);
/* oklch */ color: oklch(58.8% 0.224 311.4);
Tailwind
colors: {
  custom: {
    50: '#c580e7',
    500: '#a745db',
    950: '#000000',
  },
}
SCSS
$custom: #a745db;
$custom-light: #c580e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a745db",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 279.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5882,
    "c": 0.22412,
    "h": 311.4
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A745DB

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

Preview Lab → · Contrast checker → · Palette generator →

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