#7C45D3#7C45D3

#7C45D3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.206 H 296.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7C45D3
RGBrgb(124, 69, 211)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(41.2%, 67.3%, 0%, 17.3%)
CIE-LABlab(43.13, 53.04, -64.71)
CIE-LCHlch(43.13, 83.67, 309.34°)
OKLaboklab(53.3% 0.0921 -0.1848)
OKLCHoklch(53.3% 0.206 296.5)
XYZxyz(22.1951, 13.2440, 63.0024)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C45D3 #9CD345
analogous
#4555D3 #7C45D3 #C345D3
triadic
#7C45D3 #D37C45 #45D37C
tetradic
#7C45D3 #D34555 #9CD345 #45D3C3
square
#7C45D3 #D34555 #9CD345 #45D3C3
split-complementary
#7C45D3 #D3C345 #55D345
monochromatic
#441E7F #5E2AB1 #7C45D3 #9F76DF #C2A8EA

Accessibility & contrast

On white

5.76
#7C45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7C45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C45D3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C45D3#FFFFFF#000000##FFFFFF
##7C45D31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#666786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c45d3;
/* rgb */ color: rgb(124, 69, 211);
/* oklch */ color: oklch(53.3% 0.206 296.5);
Tailwind
colors: {
  custom: {
    50: '#a87ce1',
    500: '#7c45d3',
    950: '#000000',
  },
}
SCSS
$custom: #7c45d3;
$custom-light: #a87ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c45d3",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 263.239,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.20647,
    "h": 296.5
  },
  "luminance": 0.13244
}

Semantic roles & 50–950 ramp

primary
#7C45D3
secondary
#C1D89C
accent
#E543A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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