#A074F2#A074F2

#A074F2 is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.9% C 0.183 H 297.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A074F2
RGBrgb(160, 116, 242)
HSLhsl(261, 83%, 70%)
HSVhsv(261, 52%, 95%)
CMYKcmyk(33.9%, 52.1%, 0%, 5.1%)
CIE-LABlab(58.39, 43.66, -57.43)
CIE-LCHlch(58.39, 72.14, 307.24°)
OKLaboklab(65.94% 0.0836 -0.1623)
OKLCHoklch(65.94% 0.183 297.3)
XYZxyz(36.7656, 26.3747, 87.1410)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A074F2 #C6F274
analogous
#7487F2 #A074F2 #DF74F2
triadic
#A074F2 #F2A074 #74F2A0
tetradic
#A074F2 #F27487 #C6F274 #74F2DF
square
#A074F2 #F27487 #C6F274 #74F2DF
split-complementary
#A074F2 #F2DF74 #87F274
monochromatic
#5814D7 #7A3CED #A074F2 #C6ACF7 #ECE3FC

Accessibility & contrast

On white

3.35
#A074F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A074F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A074F2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A074F2#FFFFFF#000000##000000
##A074F21.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF6
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#8E8DA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a074f2;
/* rgb */ color: rgb(160, 116, 242);
/* oklch */ color: oklch(65.9% 0.183 297.3);
Tailwind
colors: {
  custom: {
    50: '#c09df7',
    500: '#a074f2',
    950: '#000000',
  },
}
SCSS
$custom: #a074f2;
$custom-light: #c09df7;
$custom-dark: #000000;
JSON
{
  "hex": "#a074f2",
  "rgb": {
    "r": 160,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 260.952,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65941,
    "c": 0.18262,
    "h": 297.3
  },
  "luminance": 0.26375
}

Semantic roles & 50–950 ramp

primary
#A074F2
secondary
#E6F2CF
accent
#DF0693
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A074F2

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

Preview Lab → · Contrast checker → · Palette generator →

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