#7A45D3#7A45D3

#7A45D3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.206 H 295.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7A45D3
RGBrgb(122, 69, 211)
HSLhsl(262, 62%, 55%)
HSVhsv(262, 67%, 83%)
CMYKcmyk(42.2%, 67.3%, 0%, 17.3%)
CIE-LABlab(42.91, 52.66, -65.08)
CIE-LCHlch(42.91, 83.71, 308.98°)
OKLaboklab(53.09% 0.0893 -0.186)
OKLCHoklch(53.09% 0.206 295.6)
XYZxyz(21.9089, 13.0965, 62.9889)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45D3 #9ED345
analogous
#4557D3 #7A45D3 #C145D3
triadic
#7A45D3 #D37A45 #45D37A
tetradic
#7A45D3 #D34557 #9ED345 #45D3C1
square
#7A45D3 #D34557 #9ED345 #45D3C1
split-complementary
#7A45D3 #D3C145 #57D345
monochromatic
#421E7F #5C2AB1 #7A45D3 #9D76DF #C1A8EA

Accessibility & contrast

On white

5.80
#7A45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7A45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45D3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45D3#FFFFFF#000000##FFFFFF
##7A45D31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#626786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a45d3;
/* rgb */ color: rgb(122, 69, 211);
/* oklch */ color: oklch(53.1% 0.206 295.6);
Tailwind
colors: {
  custom: {
    50: '#a77ce1',
    500: '#7a45d3',
    950: '#000000',
  },
}
SCSS
$custom: #7a45d3;
$custom-light: #a77ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45d3",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 262.394,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.2063,
    "h": 295.6
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#7A45D3
secondary
#C1D89C
accent
#E543A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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