#7D45E6#7D45E6

#7D45E6 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.228 H 293.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7D45E6
RGBrgb(125, 69, 230)
HSLhsl(261, 76%, 59%)
HSVhsv(261, 70%, 90%)
CMYKcmyk(45.7%, 70%, 0%, 9.8%)
CIE-LABlab(44.70, 58.14, -72.99)
CIE-LCHlch(44.70, 93.32, 308.54°)
OKLaboklab(54.9% 0.0903 -0.2091)
OKLCHoklch(54.9% 0.228 293.4)
XYZxyz(24.8646, 14.3286, 76.3032)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45E6 #AEE645
analogous
#455DE6 #7D45E6 #CE45E6
triadic
#7D45E6 #E67D45 #45E67D
tetradic
#7D45E6 #E6455D #AEE645 #45E6CE
square
#7D45E6 #E6455D #AEE645 #45E6CE
split-complementary
#7D45E6 #E6CE45 #5DE645
monochromatic
#44159C #5B1CD2 #7D45E6 #A37BED #C8B1F5

Accessibility & contrast

On white

5.43
#7D45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7D45E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45E6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45E6#FFFFFF#000000##FFFFFF
##7D45E61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#5E6E91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7d45e6;
/* rgb */ color: rgb(125, 69, 230);
/* oklch */ color: oklch(54.9% 0.228 293.4);
Tailwind
colors: {
  custom: {
    50: '#ab7def',
    500: '#7d45e6',
    950: '#000000',
  },
}
SCSS
$custom: #7d45e6;
$custom-light: #ab7def;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45e6",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 260.87,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.549,
    "c": 0.22777,
    "h": 293.4
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#7D45E6
secondary
#CDE3A4
accent
#F335B1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7D45E6

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

Preview Lab → · Contrast checker → · Palette generator →

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