#7D45D1#7D45D1

#7D45D1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.204 H 297.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D45D1
RGBrgb(125, 69, 209)
HSLhsl(264, 60%, 55%)
HSVhsv(264, 67%, 82%)
CMYKcmyk(40.2%, 67%, 0%, 18%)
CIE-LABlab(43.09, 52.71, -63.62)
CIE-LCHlch(43.09, 82.62, 309.64°)
OKLaboklab(53.25% 0.0937 -0.1816)
OKLCHoklch(53.25% 0.204 297.3)
XYZxyz(22.0912, 13.2193, 61.6969)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45D1 #99D145
analogous
#4553D1 #7D45D1 #C345D1
triadic
#7D45D1 #D17D45 #45D17D
tetradic
#7D45D1 #D14553 #99D145 #45D1C3
square
#7D45D1 #D14553 #99D145 #45D1C3
split-complementary
#7D45D1 #D1C345 #53D145
monochromatic
#441F7D #5F2BAE #7D45D1 #9F76DD #C2A7E9

Accessibility & contrast

On white

5.76
#7D45D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7D45D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45D1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45D1#FFFFFF#000000##FFFFFF
##7D45D11.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#686685
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d45d1;
/* rgb */ color: rgb(125, 69, 209);
/* oklch */ color: oklch(53.3% 0.204 297.3);
Tailwind
colors: {
  custom: {
    50: '#a97ce0',
    500: '#7d45d1',
    950: '#000000',
  },
}
SCSS
$custom: #7d45d1;
$custom-light: #a97ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45d1",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 264,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.20431,
    "h": 297.3
  },
  "luminance": 0.1322
}

Semantic roles & 50–950 ramp

primary
#7D45D1
secondary
#BFD79B
accent
#E344A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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