#7A45EE#7A45EE

#7A45EE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.237 H 290.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7A45EE
RGBrgb(122, 69, 238)
HSLhsl(259, 83%, 60%)
HSVhsv(259, 71%, 93%)
CMYKcmyk(48.7%, 71%, 0%, 6.7%)
CIE-LABlab(45.03, 59.75, -76.98)
CIE-LCHlch(45.03, 97.45, 307.82°)
OKLaboklab(55.26% 0.0845 -0.2209)
OKLCHoklch(55.26% 0.237 290.9)
XYZxyz(25.5824, 14.5659, 82.3359)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45EE #B9EE45
analogous
#4564EE #7A45EE #CF45EE
triadic
#7A45EE #EE7A45 #45EE7A
tetradic
#7A45EE #EE4564 #B9EE45 #45EECF
square
#7A45EE #EE4564 #B9EE45 #45EECF
split-complementary
#7A45EE #EECF45 #64EE45
monochromatic
#400FA9 #5515E1 #7A45EE #A27DF3 #CAB5F8

Accessibility & contrast

On white

5.37
#7A45EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7A45EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45EE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45EE#FFFFFF#000000##FFFFFF
##7A45EE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF3
Deuteranopia (green-blind)
#0067EB
Tritanopia (blue-blind)
#537195
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a45ee;
/* rgb */ color: rgb(122, 69, 238);
/* oklch */ color: oklch(55.3% 0.237 290.9);
Tailwind
colors: {
  custom: {
    50: '#aa7df5',
    500: '#7a45ee',
    950: '#000000',
  },
}
SCSS
$custom: #7a45ee;
$custom-light: #aa7df5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45ee",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 238
  },
  "hsl": {
    "h": 258.817,
    "s": 83.251,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55264,
    "c": 0.23654,
    "h": 290.9
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#7A45EE
secondary
#D3E8A7
accent
#E0069B
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A45EE

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

Preview Lab → · Contrast checker → · Palette generator →

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