#7A45EA#7A45EA

#7A45EA is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.232 H 291.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7A45EA
RGBrgb(122, 69, 234)
HSLhsl(259, 80%, 59%)
HSVhsv(259, 71%, 92%)
CMYKcmyk(47.9%, 70.5%, 0%, 8.2%)
CIE-LABlab(44.71, 58.70, -75.26)
CIE-LCHlch(44.71, 95.44, 307.95°)
OKLaboklab(54.93% 0.0854 -0.2159)
OKLCHoklch(54.93% 0.232 291.6)
XYZxyz(25.0013, 14.3334, 79.2753)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45EA #B5EA45
analogous
#4563EA #7A45EA #CD45EA
triadic
#7A45EA #EA7A45 #45EA7A
tetradic
#7A45EA #EA4563 #B5EA45 #45EACD
square
#7A45EA #EA4563 #B5EA45 #45EACD
split-complementary
#7A45EA #EACD45 #63EA45
monochromatic
#4112A2 #5619D9 #7A45EA #A17CF0 #C9B3F6

Accessibility & contrast

On white

5.43
#7A45EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7A45EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45EA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45EA#FFFFFF#000000##FFFFFF
##7A45EA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#0066E7
Tritanopia (blue-blind)
#567093
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a45ea;
/* rgb */ color: rgb(122, 69, 234);
/* oklch */ color: oklch(54.9% 0.232 291.6);
Tailwind
colors: {
  custom: {
    50: '#aa7df2',
    500: '#7a45ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a45ea;
$custom-light: #aa7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45ea",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 259.273,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54932,
    "c": 0.23212,
    "h": 291.6
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#7A45EA
secondary
#D1E6A5
accent
#F632B7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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