#7E45D9#7E45D9

#7E45D9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.213 H 296.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7E45D9
RGBrgb(126, 69, 217)
HSLhsl(263, 66%, 56%)
HSVhsv(263, 68%, 85%)
CMYKcmyk(41.9%, 68.2%, 0%, 14.9%)
CIE-LABlab(43.80, 54.95, -67.05)
CIE-LCHlch(43.80, 86.69, 309.34°)
OKLaboklab(53.97% 0.0939 -0.1916)
OKLCHoklch(53.97% 0.213 296.1)
XYZxyz(23.2534, 13.7011, 67.0516)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E45D9 #A0D945
analogous
#4556D9 #7E45D9 #C845D9
triadic
#7E45D9 #D97E45 #45D97E
tetradic
#7E45D9 #D94556 #A0D945 #45D9C8
square
#7E45D9 #D94556 #A0D945 #45D9C8
split-complementary
#7E45D9 #D9C845 #56D945
monochromatic
#451C88 #5F26BB #7E45D9 #A178E3 #C4ABEE

Accessibility & contrast

On white

5.61
#7E45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7E45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E45D9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E45D9#FFFFFF#000000##FFFFFF
##7E45D91.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#66698A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e45d9;
/* rgb */ color: rgb(126, 69, 217);
/* oklch */ color: oklch(54.0% 0.213 296.1);
Tailwind
colors: {
  custom: {
    50: '#aa7de6',
    500: '#7e45d9',
    950: '#000000',
  },
}
SCSS
$custom: #7e45d9;
$custom-light: #aa7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e45d9",
  "rgb": {
    "r": 126,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 263.108,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.21339,
    "h": 296.1
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#7E45D9
secondary
#C4DB9E
accent
#E93FA7
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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