#7D45CE#7D45CE

#7D45CE is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.201 H 297.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7D45CE
RGBrgb(125, 69, 206)
HSLhsl(265, 58%, 54%)
HSVhsv(265, 67%, 81%)
CMYKcmyk(39.3%, 66.5%, 0%, 19.2%)
CIE-LABlab(42.87, 51.95, -62.25)
CIE-LCHlch(42.87, 81.07, 309.85°)
OKLaboklab(53.02% 0.0941 -0.1775)
OKLCHoklch(53.02% 0.201 297.9)
XYZxyz(21.7233, 13.0721, 59.7592)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45CE #96CE45
analogous
#4552CE #7D45CE #C245CE
triadic
#7D45CE #CE7D45 #45CE7D
tetradic
#7D45CE #CE4552 #96CE45 #45CEC2
square
#7D45CE #CE4552 #96CE45 #45CEC2
split-complementary
#7D45CE #CEC245 #52CE45
monochromatic
#442079 #602DA9 #7D45CE #9F75DB #C1A6E8

Accessibility & contrast

On white

5.81
#7D45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7D45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45CE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45CE#FFFFFF#000000##FFFFFF
##7D45CE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#696584
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d45ce;
/* rgb */ color: rgb(125, 69, 206);
/* oklch */ color: oklch(53.0% 0.201 297.9);
Tailwind
colors: {
  custom: {
    50: '#a97cde',
    500: '#7d45ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d45ce;
$custom-light: #a97cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45ce",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 264.526,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.20092,
    "h": 297.9
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#7D45CE
secondary
#BDD59A
accent
#E246A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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