#7045E5#7045E5

#7045E5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.227 H 288.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7045E5
RGBrgb(112, 69, 229)
HSLhsl(256, 75%, 58%)
HSVhsv(256, 70%, 90%)
CMYKcmyk(51.1%, 69.9%, 0%, 10.2%)
CIE-LABlab(43.30, 55.76, -74.77)
CIE-LCHlch(43.30, 93.27, 306.71°)
OKLaboklab(53.57% 0.0724 -0.2148)
OKLCHoklch(53.57% 0.227 288.6)
XYZxyz(22.9489, 13.3571, 75.4825)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045E5 #BAE545
analogous
#456AE5 #7045E5 #C045E5
triadic
#7045E5 #E57045 #45E570
tetradic
#7045E5 #E5456A #BAE545 #45E5C0
square
#7045E5 #E5456A #BAE545 #45E5C0
split-complementary
#7045E5 #E5C045 #6AE545
monochromatic
#39169A #4D1DD0 #7045E5 #997BED #C3B0F4

Accessibility & contrast

On white

5.72
#7045E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7045E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045E5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045E5#FFFFFF#000000##FFFFFF
##7045E51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#456F90
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7045e5;
/* rgb */ color: rgb(112, 69, 229);
/* oklch */ color: oklch(53.6% 0.227 288.6);
Tailwind
colors: {
  custom: {
    50: '#a37cee',
    500: '#7045e5',
    950: '#000000',
  },
}
SCSS
$custom: #7045e5;
$custom-light: #a37cee;
$custom-dark: #000000;
JSON
{
  "hex": "#7045e5",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 256.125,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53567,
    "c": 0.22665,
    "h": 288.6
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#7045E5
secondary
#D2E3A3
accent
#F236BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7045E5

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

Preview Lab → · Contrast checker → · Palette generator →

#7045E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva