#7E45D5#7E45D5

#7E45D5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.209 H 296.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7E45D5
RGBrgb(126, 69, 213)
HSLhsl(264, 63%, 55%)
HSVhsv(264, 68%, 84%)
CMYKcmyk(40.8%, 67.6%, 0%, 16.5%)
CIE-LABlab(43.50, 53.93, -65.25)
CIE-LCHlch(43.50, 84.65, 309.57°)
OKLaboklab(53.66% 0.0945 -0.1863)
OKLCHoklch(53.66% 0.209 296.9)
XYZxyz(22.7394, 13.4955, 64.3447)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E45D5 #9CD545
analogous
#4554D5 #7E45D5 #C645D5
triadic
#7E45D5 #D57E45 #45D57E
tetradic
#7E45D5 #D54554 #9CD545 #45D5C6
square
#7E45D5 #D54554 #9CD545 #45D5C6
split-complementary
#7E45D5 #D5C645 #54D545
monochromatic
#451D82 #6029B4 #7E45D5 #A177E0 #C3A9EC

Accessibility & contrast

On white

5.68
#7E45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7E45D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E45D5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E45D5#FFFFFF#000000##FFFFFF
##7E45D51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#686888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e45d5;
/* rgb */ color: rgb(126, 69, 213);
/* oklch */ color: oklch(53.7% 0.209 296.9);
Tailwind
colors: {
  custom: {
    50: '#aa7de3',
    500: '#7e45d5',
    950: '#000000',
  },
}
SCSS
$custom: #7e45d5;
$custom-light: #aa7de3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e45d5",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 263.75,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.20892,
    "h": 296.9
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#7E45D5
secondary
#C1D99D
accent
#E642A5
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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