#7C45CE#7C45CE

#7C45CE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.201 H 297.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7C45CE
RGBrgb(124, 69, 206)
HSLhsl(264, 58%, 54%)
HSVhsv(264, 67%, 81%)
CMYKcmyk(39.8%, 66.5%, 0%, 19.2%)
CIE-LABlab(42.76, 51.75, -62.43)
CIE-LCHlch(42.76, 81.09, 309.65°)
OKLaboklab(52.92% 0.0927 -0.1781)
OKLCHoklch(52.92% 0.201 297.5)
XYZxyz(21.5780, 12.9972, 59.7524)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C45CE #97CE45
analogous
#4553CE #7C45CE #C145CE
triadic
#7C45CE #CE7C45 #45CE7C
tetradic
#7C45CE #CE4553 #97CE45 #45CEC1
square
#7C45CE #CE4553 #97CE45 #45CEC1
split-complementary
#7C45CE #CEC145 #53CE45
monochromatic
#442079 #5F2DA9 #7C45CE #9E75DB #C0A6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C45CE#FFFFFF#000000##FFFFFF
##7C45CE1.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)
#0065D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#686584
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c45ce;
/* rgb */ color: rgb(124, 69, 206);
/* oklch */ color: oklch(52.9% 0.201 297.5);
Tailwind
colors: {
  custom: {
    50: '#a87cde',
    500: '#7c45ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c45ce;
$custom-light: #a87cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7c45ce",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 264.088,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.20081,
    "h": 297.5
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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