#7A45CE#7A45CE

#7A45CE is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.201 H 296.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7A45CE
RGBrgb(122, 69, 206)
HSLhsl(263, 58%, 54%)
HSVhsv(263, 67%, 81%)
CMYKcmyk(40.8%, 66.5%, 0%, 19.2%)
CIE-LABlab(42.54, 51.36, -62.81)
CIE-LCHlch(42.54, 81.13, 309.27°)
OKLaboklab(52.71% 0.09 -0.1793)
OKLCHoklch(52.71% 0.201 296.7)
XYZxyz(21.2918, 12.8496, 59.7390)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45CE #99CE45
analogous
#4555CE #7A45CE #BF45CE
triadic
#7A45CE #CE7A45 #45CE7A
tetradic
#7A45CE #CE4555 #99CE45 #45CEBF
square
#7A45CE #CE4555 #99CE45 #45CEBF
split-complementary
#7A45CE #CEBF45 #55CE45
monochromatic
#422079 #5D2DA9 #7A45CE #9D75DB #BFA6E8

Accessibility & contrast

On white

5.88
#7A45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7A45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45CE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45CE#FFFFFF#000000##FFFFFF
##7A45CE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#656584
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a45ce;
/* rgb */ color: rgb(122, 69, 206);
/* oklch */ color: oklch(52.7% 0.201 296.7);
Tailwind
colors: {
  custom: {
    50: '#a77cde',
    500: '#7a45ce',
    950: '#000000',
  },
}
SCSS
$custom: #7a45ce;
$custom-light: #a77cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45ce",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 263.212,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.20059,
    "h": 296.7
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#7A45CE
secondary
#BED59A
accent
#E246A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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