#7A45D1#7A45D1

#7A45D1 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.204 H 296.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7A45D1
RGBrgb(122, 69, 209)
HSLhsl(263, 60%, 55%)
HSVhsv(263, 67%, 82%)
CMYKcmyk(41.6%, 67%, 0%, 18%)
CIE-LABlab(42.76, 52.14, -64.17)
CIE-LCHlch(42.76, 82.68, 309.09°)
OKLaboklab(52.94% 0.0896 -0.1833)
OKLCHoklch(52.94% 0.204 296)
XYZxyz(21.6598, 12.9968, 61.6767)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45D1 #9CD145
analogous
#4556D1 #7A45D1 #C045D1
triadic
#7A45D1 #D17A45 #45D17A
tetradic
#7A45D1 #D14556 #9CD145 #45D1C0
square
#7A45D1 #D14556 #9CD145 #45D1C0
split-complementary
#7A45D1 #D1C045 #56D145
monochromatic
#421F7D #5D2BAE #7A45D1 #9D76DD #C0A7E9

Accessibility & contrast

On white

5.83
#7A45D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7A45D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45D1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45D1#FFFFFF#000000##FFFFFF
##7A45D11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#636685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a45d1;
/* rgb */ color: rgb(122, 69, 209);
/* oklch */ color: oklch(52.9% 0.204 296.0);
Tailwind
colors: {
  custom: {
    50: '#a77ce0',
    500: '#7a45d1',
    950: '#000000',
  },
}
SCSS
$custom: #7a45d1;
$custom-light: #a77ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45d1",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 262.714,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.20402,
    "h": 296
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#7A45D1
secondary
#C0D79B
accent
#E344A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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