#7A45CA#7A45CA

#7A45CA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.196 H 297.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7A45CA
RGBrgb(122, 69, 202)
HSLhsl(264, 56%, 53%)
HSVhsv(264, 66%, 79%)
CMYKcmyk(39.6%, 65.8%, 0%, 20.8%)
CIE-LABlab(42.24, 50.32, -60.97)
CIE-LCHlch(42.24, 79.05, 309.53°)
OKLaboklab(52.4% 0.0905 -0.1739)
OKLCHoklch(52.4% 0.196 297.5)
XYZxyz(20.8121, 12.6577, 57.2123)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45CA #95CA45
analogous
#4552CA #7A45CA #BD45CA
triadic
#7A45CA #CA7A45 #45CA7A
tetradic
#7A45CA #CA4552 #95CA45 #45CABD
square
#7A45CA #CA4552 #95CA45 #45CABD
split-complementary
#7A45CA #CABD45 #52CA45
monochromatic
#422174 #5D2FA3 #7A45CA #9C75D8 #BEA4E5

Accessibility & contrast

On white

5.95
#7A45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7A45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45CA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45CA#FFFFFF#000000##FFFFFF
##7A45CA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#666482
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a45ca;
/* rgb */ color: rgb(122, 69, 202);
/* oklch */ color: oklch(52.4% 0.196 297.5);
Tailwind
colors: {
  custom: {
    50: '#a67cdb',
    500: '#7a45ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a45ca;
$custom-light: #a67cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45ca",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 263.91,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.19601,
    "h": 297.5
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

primary
#7A45CA
secondary
#BBD299
accent
#DF49A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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