#7D45AF#7D45AF

#7D45AF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.165 H 305.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7D45AF
RGBrgb(125, 69, 175)
HSLhsl(272, 43%, 48%)
HSVhsv(272, 61%, 69%)
CMYKcmyk(28.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(40.75, 44.20, -47.56)
CIE-LCHlch(40.75, 64.93, 312.91°)
OKLaboklab(50.82% 0.0964 -0.1344)
OKLCHoklch(50.82% 0.165 305.7)
XYZxyz(18.3218, 11.7115, 41.8445)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45AF #77AF45
analogous
#4845AF #7D45AF #AF45AC
triadic
#7D45AF #AF7D45 #45AF7D
tetradic
#7D45AF #AF4845 #77AF45 #45ACAF
square
#7D45AF #AF4845 #77AF45 #45ACAF
split-complementary
#7D45AF #ACAF45 #45AF48
monochromatic
#3E2257 #5E3483 #7D45AF #9B6CC5 #B998D6

Accessibility & contrast

On white

6.28
#7D45AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7D45AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45AF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45AF#FFFFFF#000000##FFFFFF
##7D45AF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB2
Deuteranopia (green-blind)
#2F60AD
Tritanopia (blue-blind)
#755A73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d45af;
/* rgb */ color: rgb(125, 69, 175);
/* oklch */ color: oklch(50.8% 0.165 305.7);
Tailwind
colors: {
  custom: {
    50: '#a67bc7',
    500: '#7d45af',
    950: '#000000',
  },
}
SCSS
$custom: #7d45af;
$custom-light: #a67bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45af",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 271.698,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.16537,
    "h": 305.7
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#7D45AF
secondary
#A6C28D
accent
#D35590
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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