#7D45BE#7D45BE

#7D45BE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.183 H 301.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7D45BE
RGBrgb(125, 69, 190)
HSLhsl(268, 48%, 51%)
HSVhsv(268, 64%, 75%)
CMYKcmyk(34.2%, 63.7%, 0%, 25.5%)
CIE-LABlab(41.74, 47.90, -54.79)
CIE-LCHlch(41.74, 72.77, 311.16°)
OKLaboklab(51.85% 0.0957 -0.1556)
OKLCHoklch(51.85% 0.183 301.6)
XYZxyz(19.8776, 12.3338, 50.0387)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45BE #86BE45
analogous
#4549BE #7D45BE #BA45BE
triadic
#7D45BE #BE7D45 #45BE7D
tetradic
#7D45BE #BE4549 #86BE45 #45BEBA
square
#7D45BE #BE4549 #86BE45 #45BEBA
split-complementary
#7D45BE #BEBA45 #49BE45
monochromatic
#422365 #5F3393 #7D45BE #9D72CE #BCA0DE

Accessibility & contrast

On white

6.06
#7D45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7D45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45BE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45BE#FFFFFF#000000##FFFFFF
##7D45BE1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#1862BB
Tritanopia (blue-blind)
#705F7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d45be;
/* rgb */ color: rgb(125, 69, 190);
/* oklch */ color: oklch(51.9% 0.183 301.6);
Tailwind
colors: {
  custom: {
    50: '#a77cd2',
    500: '#7d45be',
    950: '#000000',
  },
}
SCSS
$custom: #7d45be;
$custom-light: #a77cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45be",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 267.769,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.18267,
    "h": 301.6
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#7D45BE
secondary
#B1CA95
accent
#D85099
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7D45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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