#7D45D4#7D45D4

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

Color values

HEX#7D45D4
RGBrgb(125, 69, 212)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(41%, 67.5%, 0%, 16.9%)
CIE-LABlab(43.31, 53.48, -64.98)
CIE-LCHlch(43.31, 84.16, 309.46°)
OKLaboklab(53.48% 0.0933 -0.1856)
OKLCHoklch(53.48% 0.208 296.7)
XYZxyz(22.4661, 13.3692, 63.6715)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45D4 #9CD445
analogous
#4554D4 #7D45D4 #C545D4
triadic
#7D45D4 #D47D45 #45D47D
tetradic
#7D45D4 #D44554 #9CD445 #45D4C5
square
#7D45D4 #D44554 #9CD445 #45D4C5
split-complementary
#7D45D4 #D4C545 #54D445
monochromatic
#451E81 #5F29B3 #7D45D4 #A077DF #C2A8EB

Accessibility & contrast

On white

5.72
#7D45D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7D45D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45D4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45D4#FFFFFF#000000##FFFFFF
##7D45D41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#676787
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d45d4;
/* rgb */ color: rgb(125, 69, 212);
/* oklch */ color: oklch(53.5% 0.208 296.7);
Tailwind
colors: {
  custom: {
    50: '#a97ce2',
    500: '#7d45d4',
    950: '#000000',
  },
}
SCSS
$custom: #7d45d4;
$custom-light: #a97ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45d4",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 263.497,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53479,
    "c": 0.2077,
    "h": 296.7
  },
  "luminance": 0.1337
}

Semantic roles & 50–950 ramp

primary
#7D45D4
secondary
#C1D89C
accent
#E642A6
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7D45D4

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

Preview Lab → · Contrast checker → · Palette generator →

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