#7A45DA#7A45DA

#7A45DA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.214 H 294.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7A45DA
RGBrgb(122, 69, 218)
HSLhsl(261, 67%, 56%)
HSVhsv(261, 68%, 85%)
CMYKcmyk(44%, 68.3%, 0%, 14.5%)
CIE-LABlab(43.44, 54.49, -68.23)
CIE-LCHlch(43.44, 87.31, 308.61°)
OKLaboklab(53.64% 0.0882 -0.1952)
OKLCHoklch(53.64% 0.214 294.3)
XYZxyz(22.8056, 13.4552, 67.7116)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45DA #A5DA45
analogous
#455BDA #7A45DA #C445DA
triadic
#7A45DA #DA7A45 #45DA7A
tetradic
#7A45DA #DA455B #A5DA45 #45DAC4
square
#7A45DA #DA455B #A5DA45 #45DAC4
split-complementary
#7A45DA #DAC445 #5BDA45
monochromatic
#421B89 #5B25BC #7A45DA #9F78E4 #C3ABEE

Accessibility & contrast

On white

5.69
#7A45DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7A45DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45DA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45DA#FFFFFF#000000##FFFFFF
##7A45DA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#5F6A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a45da;
/* rgb */ color: rgb(122, 69, 218);
/* oklch */ color: oklch(53.6% 0.214 294.3);
Tailwind
colors: {
  custom: {
    50: '#a87ce6',
    500: '#7a45da',
    950: '#000000',
  },
}
SCSS
$custom: #7a45da;
$custom-light: #a87ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45da",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 261.342,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53637,
    "c": 0.21422,
    "h": 294.3
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#7A45DA
secondary
#C6DC9F
accent
#EA3EAD
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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