#7C45DA#7C45DA

#7C45DA is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.214 H 295.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7C45DA
RGBrgb(124, 69, 218)
HSLhsl(262, 67%, 56%)
HSVhsv(262, 68%, 85%)
CMYKcmyk(43.1%, 68.3%, 0%, 14.5%)
CIE-LABlab(43.66, 54.85, -67.87)
CIE-LCHlch(43.66, 87.26, 308.94°)
OKLaboklab(53.84% 0.091 -0.1941)
OKLCHoklch(53.84% 0.214 295.1)
XYZxyz(23.0918, 13.6027, 67.7250)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C45DA #A3DA45
analogous
#4559DA #7C45DA #C745DA
triadic
#7C45DA #DA7C45 #45DA7C
tetradic
#7C45DA #DA4559 #A3DA45 #45DAC7
square
#7C45DA #DA4559 #A3DA45 #45DAC7
split-complementary
#7C45DA #DAC745 #59DA45
monochromatic
#441B89 #5D25BC #7C45DA #A078E4 #C4ABEE

Accessibility & contrast

On white

5.64
#7C45DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7C45DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C45DA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C45DA#FFFFFF#000000##FFFFFF
##7C45DA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#626A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c45da;
/* rgb */ color: rgb(124, 69, 218);
/* oklch */ color: oklch(53.8% 0.214 295.1);
Tailwind
colors: {
  custom: {
    50: '#a97de6',
    500: '#7c45da',
    950: '#000000',
  },
}
SCSS
$custom: #7c45da;
$custom-light: #a97de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c45da",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 262.148,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53841,
    "c": 0.21435,
    "h": 295.1
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

primary
#7C45DA
secondary
#C5DC9F
accent
#EA3EAA
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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