#7A45D0#7A45D0

#7A45D0 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.203 H 296.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7A45D0
RGBrgb(122, 69, 208)
HSLhsl(263, 60%, 54%)
HSVhsv(263, 67%, 82%)
CMYKcmyk(41.3%, 66.8%, 0%, 18.4%)
CIE-LABlab(42.68, 51.88, -63.72)
CIE-LCHlch(42.68, 82.17, 309.15°)
OKLaboklab(52.86% 0.0897 -0.182)
OKLCHoklch(52.86% 0.203 296.2)
XYZxyz(21.5363, 12.9474, 61.0267)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45D0 #9BD045
analogous
#4556D0 #7A45D0 #C045D0
triadic
#7A45D0 #D07A45 #45D07A
tetradic
#7A45D0 #D04556 #9BD045 #45D0C0
square
#7A45D0 #D04556 #9BD045 #45D0C0
split-complementary
#7A45D0 #D0C045 #56D045
monochromatic
#421F7B #5D2CAC #7A45D0 #9D76DC #C0A7E9

Accessibility & contrast

On white

5.85
#7A45D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7A45D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45D0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45D0#FFFFFF#000000##FFFFFF
##7A45D01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#646685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a45d0;
/* rgb */ color: rgb(122, 69, 208);
/* oklch */ color: oklch(52.9% 0.203 296.2);
Tailwind
colors: {
  custom: {
    50: '#a77cdf',
    500: '#7a45d0',
    950: '#000000',
  },
}
SCSS
$custom: #7a45d0;
$custom-light: #a77cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45d0",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 262.878,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.20287,
    "h": 296.2
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#7A45D0
secondary
#BFD69B
accent
#E345A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A45D0

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

Preview Lab → · Contrast checker → · Palette generator →

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