#7D45D3#7D45D3

#7D45D3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.207 H 296.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7D45D3
RGBrgb(125, 69, 211)
HSLhsl(264, 62%, 55%)
HSVhsv(264, 67%, 83%)
CMYKcmyk(40.8%, 67.3%, 0%, 17.3%)
CIE-LABlab(43.24, 53.23, -64.53)
CIE-LCHlch(43.24, 83.65, 309.52°)
OKLaboklab(53.4% 0.0934 -0.1842)
OKLCHoklch(53.4% 0.207 296.9)
XYZxyz(22.3404, 13.3189, 63.0092)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45D3 #9BD345
analogous
#4554D3 #7D45D3 #C445D3
triadic
#7D45D3 #D37D45 #45D37D
tetradic
#7D45D3 #D34554 #9BD345 #45D3C4
square
#7D45D3 #D34554 #9BD345 #45D3C4
split-complementary
#7D45D3 #D3C445 #54D345
monochromatic
#451E7F #5F2AB1 #7D45D3 #A076DF #C2A8EA

Accessibility & contrast

On white

5.73
#7D45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7D45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45D3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45D3#FFFFFF#000000##FFFFFF
##7D45D31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d45d3;
/* rgb */ color: rgb(125, 69, 211);
/* oklch */ color: oklch(53.4% 0.207 296.9);
Tailwind
colors: {
  custom: {
    50: '#a97ce1',
    500: '#7d45d3',
    950: '#000000',
  },
}
SCSS
$custom: #7d45d3;
$custom-light: #a97ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45d3",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 263.662,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.20658,
    "h": 296.9
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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