#7D45D8#7D45D8

#7D45D8 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.212 H 295.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7D45D8
RGBrgb(125, 69, 216)
HSLhsl(263, 65%, 56%)
HSVhsv(263, 68%, 85%)
CMYKcmyk(42.1%, 68.1%, 0%, 15.3%)
CIE-LABlab(43.62, 54.51, -66.79)
CIE-LCHlch(43.62, 86.21, 309.22°)
OKLaboklab(53.79% 0.0927 -0.1909)
OKLCHoklch(53.79% 0.212 295.9)
XYZxyz(22.9770, 13.5736, 66.3618)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45D8 #A0D845
analogous
#4556D8 #7D45D8 #C645D8
triadic
#7D45D8 #D87D45 #45D87D
tetradic
#7D45D8 #D84556 #A0D845 #45D8C6
square
#7D45D8 #D84556 #A0D845 #45D8C6
split-complementary
#7D45D8 #D8C645 #56D845
monochromatic
#451C86 #5E27B9 #7D45D8 #A078E3 #C4AAED

Accessibility & contrast

On white

5.65
#7D45D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7D45D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45D8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45D8#FFFFFF#000000##FFFFFF
##7D45D81.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#656989
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d45d8;
/* rgb */ color: rgb(125, 69, 216);
/* oklch */ color: oklch(53.8% 0.212 295.9);
Tailwind
colors: {
  custom: {
    50: '#aa7de5',
    500: '#7d45d8',
    950: '#000000',
  },
}
SCSS
$custom: #7d45d8;
$custom-light: #aa7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45d8",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 262.857,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.21219,
    "h": 295.9
  },
  "luminance": 0.13574
}

Semantic roles & 50–950 ramp

primary
#7D45D8
secondary
#C4DB9E
accent
#E840A8
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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