#7D45D2#7D45D2

#7D45D2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.205 H 297.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7D45D2
RGBrgb(125, 69, 210)
HSLhsl(264, 61%, 55%)
HSVhsv(264, 67%, 82%)
CMYKcmyk(40.5%, 67.1%, 0%, 17.6%)
CIE-LABlab(43.17, 52.97, -64.07)
CIE-LCHlch(43.17, 83.13, 309.58°)
OKLaboklab(53.33% 0.0936 -0.1829)
OKLCHoklch(53.33% 0.205 297.1)
XYZxyz(22.2154, 13.2690, 62.3510)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45D2 #9AD245
analogous
#4553D2 #7D45D2 #C445D2
triadic
#7D45D2 #D27D45 #45D27D
tetradic
#7D45D2 #D24553 #9AD245 #45D2C4
square
#7D45D2 #D24553 #9AD245 #45D2C4
split-complementary
#7D45D2 #D2C445 #53D245
monochromatic
#441F7E #5F2AAF #7D45D2 #9F76DE #C2A8EA

Accessibility & contrast

On white

5.75
#7D45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7D45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45D2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45D2#FFFFFF#000000##FFFFFF
##7D45D21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#686786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d45d2;
/* rgb */ color: rgb(125, 69, 210);
/* oklch */ color: oklch(53.3% 0.205 297.1);
Tailwind
colors: {
  custom: {
    50: '#a97ce1',
    500: '#7d45d2',
    950: '#000000',
  },
}
SCSS
$custom: #7d45d2;
$custom-light: #a97ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45d2",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 263.83,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.20545,
    "h": 297.1
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#7D45D2
secondary
#C0D79C
accent
#E444A4
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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