#7D45CD#7D45CD

#7D45CD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.200 H 298.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7D45CD
RGBrgb(125, 69, 205)
HSLhsl(265, 58%, 54%)
HSVhsv(265, 66%, 80%)
CMYKcmyk(39%, 66.3%, 0%, 19.6%)
CIE-LABlab(42.80, 51.69, -61.79)
CIE-LCHlch(42.80, 80.56, 309.92°)
OKLaboklab(52.95% 0.0942 -0.1762)
OKLCHoklch(52.95% 0.2 298.1)
XYZxyz(21.6022, 13.0237, 59.1215)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45CD #95CD45
analogous
#4551CD #7D45CD #C145CD
triadic
#7D45CD #CD7D45 #45CD7D
tetradic
#7D45CD #CD4551 #95CD45 #45CDC1
square
#7D45CD #CD4551 #95CD45 #45CDC1
split-complementary
#7D45CD #CDC145 #51CD45
monochromatic
#442077 #602DA8 #7D45CD #9F75DA #C0A5E7

Accessibility & contrast

On white

5.83
#7D45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7D45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45CD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45CD#FFFFFF#000000##FFFFFF
##7D45CD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#6A6583
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d45cd;
/* rgb */ color: rgb(125, 69, 205);
/* oklch */ color: oklch(52.9% 0.200 298.1);
Tailwind
colors: {
  custom: {
    50: '#a87cdd',
    500: '#7d45cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d45cd;
$custom-light: #a87cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45cd",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 264.706,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.19979,
    "h": 298.1
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#7D45CD
secondary
#BCD49A
accent
#E147A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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