#A05FC2#A05FC2

#A05FC2 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.9% C 0.158 H 312.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A05FC2
RGBrgb(160, 95, 194)
HSLhsl(279, 45%, 57%)
HSVhsv(279, 51%, 76%)
CMYKcmyk(17.5%, 51%, 0%, 23.9%)
CIE-LABlab(51.33, 43.77, -41.55)
CIE-LCHlch(51.33, 60.35, 316.49°)
OKLaboklab(59.87% 0.1075 -0.1159)
OKLCHoklch(59.87% 0.158 312.9)
XYZxyz(28.3254, 19.5537, 53.3106)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05FC2 #81C25F
analogous
#6F5FC2 #A05FC2 #C25FB3
triadic
#A05FC2 #C2A05F #5FC2A0
tetradic
#A05FC2 #C26F5F #81C25F #5FB3C2
square
#A05FC2 #C26F5F #81C25F #5FB3C2
split-complementary
#A05FC2 #B3C25F #5FC26F
monochromatic
#5F2E79 #823FA5 #A05FC2 #BA8BD3 #D5B8E4

Accessibility & contrast

On white

4.28
#A05FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A05FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05FC2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05FC2#FFFFFF#000000##000000
##A05FC21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#5B7CBF
Tritanopia (blue-blind)
#9D6F88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a05fc2;
/* rgb */ color: rgb(160, 95, 194);
/* oklch */ color: oklch(59.9% 0.158 312.9);
Tailwind
colors: {
  custom: {
    50: '#be8ed5',
    500: '#a05fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a05fc2;
$custom-light: #be8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#a05fc2",
  "rgb": {
    "r": 160,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 279.394,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.15812,
    "h": 312.9
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#A05FC2
secondary
#B8D3AA
accent
#D45380
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A05FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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