#7A45AE#7A45AE

#7A45AE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.4% C 0.163 H 304.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7A45AE
RGBrgb(122, 69, 174)
HSLhsl(270, 43%, 48%)
HSVhsv(270, 60%, 68%)
CMYKcmyk(29.9%, 60.3%, 0%, 31.8%)
CIE-LABlab(40.33, 43.23, -47.67)
CIE-LCHlch(40.33, 64.35, 312.21°)
OKLaboklab(50.41% 0.0924 -0.1348)
OKLCHoklch(50.41% 0.163 304.4)
XYZxyz(17.7925, 11.4499, 41.3089)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45AE #79AE45
analogous
#4645AE #7A45AE #AE45AD
triadic
#7A45AE #AE7A45 #45AE7A
tetradic
#7A45AE #AE4645 #79AE45 #45ADAE
square
#7A45AE #AE4645 #79AE45 #45ADAE
split-complementary
#7A45AE #ADAE45 #45AE46
monochromatic
#3D2256 #5B3482 #7A45AE #996CC5 #B797D6

Accessibility & contrast

On white

6.38
#7A45AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7A45AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45AE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45AE#FFFFFF#000000##FFFFFF
##7A45AE1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB1
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#715A73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a45ae;
/* rgb */ color: rgb(122, 69, 174);
/* oklch */ color: oklch(50.4% 0.163 304.4);
Tailwind
colors: {
  custom: {
    50: '#a47bc7',
    500: '#7a45ae',
    950: '#000000',
  },
}
SCSS
$custom: #7a45ae;
$custom-light: #a47bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45ae",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 270.286,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.16343,
    "h": 304.4
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#7A45AE
secondary
#A7C28D
accent
#D35593
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A45AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7A45AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva