#7D45EA#7D45EA

#7D45EA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.232 H 292.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7D45EA
RGBrgb(125, 69, 234)
HSLhsl(260, 80%, 59%)
HSVhsv(260, 71%, 92%)
CMYKcmyk(46.6%, 70.5%, 0%, 8.2%)
CIE-LABlab(45.02, 59.18, -74.73)
CIE-LCHlch(45.02, 95.33, 308.38°)
OKLaboklab(55.23% 0.0895 -0.2142)
OKLCHoklch(55.23% 0.232 292.7)
XYZxyz(25.4327, 14.5559, 79.2955)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45EA #B2EA45
analogous
#4560EA #7D45EA #D045EA
triadic
#7D45EA #EA7D45 #45EA7D
tetradic
#7D45EA #EA4560 #B2EA45 #45EAD0
square
#7D45EA #EA4560 #B2EA45 #45EAD0
split-complementary
#7D45EA #EAD045 #60EA45
monochromatic
#4312A2 #5A19D9 #7D45EA #A37CF0 #CAB3F6

Accessibility & contrast

On white

5.37
#7D45EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7D45EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45EA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45EA#FFFFFF#000000##FFFFFF
##7D45EA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d45ea;
/* rgb */ color: rgb(125, 69, 234);
/* oklch */ color: oklch(55.2% 0.232 292.7);
Tailwind
colors: {
  custom: {
    50: '#ac7df2',
    500: '#7d45ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d45ea;
$custom-light: #ac7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45ea",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 260.364,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.23217,
    "h": 292.7
  },
  "luminance": 0.14557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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