#7D45BD#7D45BD

#7D45BD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.182 H 301.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7D45BD
RGBrgb(125, 69, 189)
HSLhsl(268, 48%, 51%)
HSVhsv(268, 63%, 74%)
CMYKcmyk(33.9%, 63.5%, 0%, 25.9%)
CIE-LABlab(41.67, 47.65, -54.31)
CIE-LCHlch(41.67, 72.25, 311.26°)
OKLaboklab(51.78% 0.0958 -0.1542)
OKLCHoklch(51.78% 0.182 301.8)
XYZxyz(19.7687, 12.2903, 49.4650)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45BD #85BD45
analogous
#4549BD #7D45BD #B945BD
triadic
#7D45BD #BD7D45 #45BD7D
tetradic
#7D45BD #BD4549 #85BD45 #45BDB9
square
#7D45BD #BD4549 #85BD45 #45BDB9
split-complementary
#7D45BD #BDB945 #49BD45
monochromatic
#422464 #5F3491 #7D45BD #9D72CD #BC9FDD

Accessibility & contrast

On white

6.07
#7D45BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7D45BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45BD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45BD#FFFFFF#000000##FFFFFF
##7D45BD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#705F7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d45bd;
/* rgb */ color: rgb(125, 69, 189);
/* oklch */ color: oklch(51.8% 0.182 301.8);
Tailwind
colors: {
  custom: {
    50: '#a77cd2',
    500: '#7d45bd',
    950: '#000000',
  },
}
SCSS
$custom: #7d45bd;
$custom-light: #a77cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45bd",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 268,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5178,
    "c": 0.18153,
    "h": 301.8
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

primary
#7D45BD
secondary
#B1CA94
accent
#D75198
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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