#7D45D9#7D45D9

#7D45D9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.213 H 295.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7D45D9
RGBrgb(125, 69, 217)
HSLhsl(263, 66%, 56%)
HSVhsv(263, 68%, 85%)
CMYKcmyk(42.4%, 68.2%, 0%, 14.9%)
CIE-LABlab(43.69, 54.77, -67.23)
CIE-LCHlch(43.69, 86.72, 309.17°)
OKLaboklab(53.87% 0.0925 -0.1922)
OKLCHoklch(53.87% 0.213 295.7)
XYZxyz(23.1066, 13.6254, 67.0447)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45D9 #A1D945
analogous
#4557D9 #7D45D9 #C745D9
triadic
#7D45D9 #D97D45 #45D97D
tetradic
#7D45D9 #D94557 #A1D945 #45D9C7
square
#7D45D9 #D94557 #A1D945 #45D9C7
split-complementary
#7D45D9 #D9C745 #57D945
monochromatic
#451C88 #5E26BB #7D45D9 #A178E3 #C4ABEE

Accessibility & contrast

On white

5.64
#7D45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7D45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45D9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45D9#FFFFFF#000000##FFFFFF
##7D45D91.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d45d9;
/* rgb */ color: rgb(125, 69, 217);
/* oklch */ color: oklch(53.9% 0.213 295.7);
Tailwind
colors: {
  custom: {
    50: '#aa7de6',
    500: '#7d45d9',
    950: '#000000',
  },
}
SCSS
$custom: #7d45d9;
$custom-light: #aa7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45d9",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 262.703,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.21331,
    "h": 295.7
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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