#7A45E8#7A45E8

#7A45E8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.230 H 291.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7A45E8
RGBrgb(122, 69, 232)
HSLhsl(260, 78%, 59%)
HSVhsv(260, 70%, 91%)
CMYKcmyk(47.4%, 70.3%, 0%, 9%)
CIE-LABlab(44.55, 58.17, -74.39)
CIE-LCHlch(44.55, 94.43, 308.02°)
OKLaboklab(54.77% 0.0857 -0.2133)
OKLCHoklch(54.77% 0.23 291.9)
XYZxyz(24.7156, 14.2191, 77.7706)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45E8 #B3E845
analogous
#4562E8 #7A45E8 #CB45E8
triadic
#7A45E8 #E87A45 #45E87A
tetradic
#7A45E8 #E84562 #B3E845 #45E8CB
square
#7A45E8 #E84562 #B3E845 #45E8CB
split-complementary
#7A45E8 #E8CB45 #62E845
monochromatic
#41149F #571AD5 #7A45E8 #A17BEF #C8B2F5

Accessibility & contrast

On white

5.46
#7A45E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7A45E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45E8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45E8#FFFFFF#000000##FFFFFF
##7A45E81.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#576F92
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a45e8;
/* rgb */ color: rgb(122, 69, 232);
/* oklch */ color: oklch(54.8% 0.230 291.9);
Tailwind
colors: {
  custom: {
    50: '#aa7df0',
    500: '#7a45e8',
    950: '#000000',
  },
}
SCSS
$custom: #7a45e8;
$custom-light: #aa7df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45e8",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 259.509,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54767,
    "c": 0.2299,
    "h": 291.9
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#7A45E8
secondary
#D0E4A4
accent
#F433B6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A45E8

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

Preview Lab → · Contrast checker → · Palette generator →

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