#7A45D9#7A45D9

#7A45D9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.213 H 294.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7A45D9
RGBrgb(122, 69, 217)
HSLhsl(261, 66%, 56%)
HSVhsv(261, 68%, 85%)
CMYKcmyk(43.8%, 68.2%, 0%, 14.9%)
CIE-LABlab(43.36, 54.22, -67.78)
CIE-LCHlch(43.36, 86.80, 308.66°)
OKLaboklab(53.56% 0.0884 -0.1939)
OKLCHoklch(53.56% 0.213 294.5)
XYZxyz(22.6752, 13.4030, 67.0245)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45D9 #A4D945
analogous
#455AD9 #7A45D9 #C445D9
triadic
#7A45D9 #D97A45 #45D97A
tetradic
#7A45D9 #D9455A #A4D945 #45D9C4
square
#7A45D9 #D9455A #A4D945 #45D9C4
split-complementary
#7A45D9 #D9C445 #5AD945
monochromatic
#421C88 #5B26BB #7A45D9 #9E78E3 #C3ABEE

Accessibility & contrast

On white

5.71
#7A45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7A45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45D9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45D9#FFFFFF#000000##FFFFFF
##7A45D91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#60698A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a45d9;
/* rgb */ color: rgb(122, 69, 217);
/* oklch */ color: oklch(53.6% 0.213 294.5);
Tailwind
colors: {
  custom: {
    50: '#a87ce6',
    500: '#7a45d9',
    950: '#000000',
  },
}
SCSS
$custom: #7a45d9;
$custom-light: #a87ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45d9",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 261.486,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.2131,
    "h": 294.5
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#7A45D9
secondary
#C6DB9E
accent
#E93FAC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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