#7C45EA#7C45EA

#7C45EA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.232 H 292.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7C45EA
RGBrgb(124, 69, 234)
HSLhsl(260, 80%, 59%)
HSVhsv(260, 71%, 92%)
CMYKcmyk(47%, 70.5%, 0%, 8.2%)
CIE-LABlab(44.91, 59.02, -74.91)
CIE-LCHlch(44.91, 95.36, 308.23°)
OKLaboklab(55.13% 0.0881 -0.2148)
OKLCHoklch(55.13% 0.232 292.3)
XYZxyz(25.2874, 14.4810, 79.2887)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C45EA #B3EA45
analogous
#4561EA #7C45EA #CF45EA
triadic
#7C45EA #EA7C45 #45EA7C
tetradic
#7C45EA #EA4561 #B3EA45 #45EACF
square
#7C45EA #EA4561 #B3EA45 #45EACF
split-complementary
#7C45EA #EACF45 #61EA45
monochromatic
#4212A2 #5919D9 #7C45EA #A37CF0 #C9B3F6

Accessibility & contrast

On white

5.39
#7C45EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7C45EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C45EA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C45EA#FFFFFF#000000##FFFFFF
##7C45EA1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#5A7093
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c45ea;
/* rgb */ color: rgb(124, 69, 234);
/* oklch */ color: oklch(55.1% 0.232 292.3);
Tailwind
colors: {
  custom: {
    50: '#ab7df2',
    500: '#7c45ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c45ea;
$custom-light: #ab7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c45ea",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 260,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.23215,
    "h": 292.3
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#7C45EA
secondary
#D0E6A5
accent
#F632B5
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7C45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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