#7E45D3#7E45D3

#7E45D3 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.207 H 297.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7E45D3
RGBrgb(126, 69, 211)
HSLhsl(264, 62%, 55%)
HSVhsv(264, 67%, 83%)
CMYKcmyk(40.3%, 67.3%, 0%, 17.3%)
CIE-LABlab(43.35, 53.42, -64.34)
CIE-LCHlch(43.35, 83.62, 309.70°)
OKLaboklab(53.51% 0.0948 -0.1836)
OKLCHoklch(53.51% 0.207 297.3)
XYZxyz(22.4871, 13.3946, 63.0160)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E45D3 #9AD345
analogous
#4553D3 #7E45D3 #C545D3
triadic
#7E45D3 #D37E45 #45D37E
tetradic
#7E45D3 #D34553 #9AD345 #45D3C5
square
#7E45D3 #D34553 #9AD345 #45D3C5
split-complementary
#7E45D3 #D3C545 #53D345
monochromatic
#451E7F #602AB1 #7E45D3 #A076DF #C3A8EA

Accessibility & contrast

On white

5.71
#7E45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7E45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E45D3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E45D3#FFFFFF#000000##FFFFFF
##7E45D31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#696786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e45d3;
/* rgb */ color: rgb(126, 69, 211);
/* oklch */ color: oklch(53.5% 0.207 297.3);
Tailwind
colors: {
  custom: {
    50: '#aa7ce1',
    500: '#7e45d3',
    950: '#000000',
  },
}
SCSS
$custom: #7e45d3;
$custom-light: #aa7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e45d3",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 264.085,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53508,
    "c": 0.20667,
    "h": 297.3
  },
  "luminance": 0.13395
}

Semantic roles & 50–950 ramp

primary
#7E45D3
secondary
#C0D89C
accent
#E543A4
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7E45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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