#7A45F0#7A45F0

#7A45F0 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.239 H 290.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7A45F0
RGBrgb(122, 69, 240)
HSLhsl(259, 85%, 61%)
HSVhsv(259, 71%, 94%)
CMYKcmyk(49.2%, 71.3%, 0%, 5.9%)
CIE-LABlab(45.20, 60.28, -77.84)
CIE-LCHlch(45.20, 98.45, 307.76°)
OKLaboklab(55.43% 0.0841 -0.2234)
OKLCHoklch(55.43% 0.239 290.6)
XYZxyz(25.8778, 14.6840, 83.8920)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45F0 #BBF045
analogous
#4566F0 #7A45F0 #CF45F0
triadic
#7A45F0 #F07A45 #45F07A
tetradic
#7A45F0 #F04566 #BBF045 #45F0CF
square
#7A45F0 #F04566 #BBF045 #45F0CF
split-complementary
#7A45F0 #F0CF45 #66F045
monochromatic
#3F0EAD #5412E5 #7A45F0 #A27EF5 #CBB6F9

Accessibility & contrast

On white

5.33
#7A45F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7A45F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45F0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45F0#FFFFFF#000000##FFFFFF
##7A45F01.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF5
Deuteranopia (green-blind)
#0067ED
Tritanopia (blue-blind)
#527296
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a45f0;
/* rgb */ color: rgb(122, 69, 240);
/* oklch */ color: oklch(55.4% 0.239 290.6);
Tailwind
colors: {
  custom: {
    50: '#aa7df6',
    500: '#7a45f0',
    950: '#000000',
  },
}
SCSS
$custom: #7a45f0;
$custom-light: #aa7df6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45f0",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 258.596,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55431,
    "c": 0.23874,
    "h": 290.6
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#7A45F0
secondary
#D5E9A8
accent
#E2049D
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A45F0

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

Preview Lab → · Contrast checker → · Palette generator →

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