#7045E1#7045E1

#7045E1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.222 H 289.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7045E1
RGBrgb(112, 69, 225)
HSLhsl(257, 72%, 58%)
HSVhsv(257, 69%, 88%)
CMYKcmyk(50.2%, 69.3%, 0%, 11.8%)
CIE-LABlab(42.97, 54.66, -73.04)
CIE-LCHlch(42.97, 91.22, 306.81°)
OKLaboklab(53.23% 0.0732 -0.2097)
OKLCHoklch(53.23% 0.222 289.2)
XYZxyz(22.3969, 13.1362, 72.5750)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045E1 #B6E145
analogous
#4568E1 #7045E1 #BE45E1
triadic
#7045E1 #E17045 #45E170
tetradic
#7045E1 #E14568 #B6E145 #45E1BE
square
#7045E1 #E14568 #B6E145 #45E1BE
split-complementary
#7045E1 #E1BE45 #68E145
monochromatic
#3A1894 #4F20C8 #7045E1 #997AE9 #C1AEF2

Accessibility & contrast

On white

5.79
#7045E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7045E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045E1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045E1#FFFFFF#000000##FFFFFF
##7045E11.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#486D8E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7045e1;
/* rgb */ color: rgb(112, 69, 225);
/* oklch */ color: oklch(53.2% 0.222 289.2);
Tailwind
colors: {
  custom: {
    50: '#a37cec',
    500: '#7045e1',
    950: '#000000',
  },
}
SCSS
$custom: #7045e1;
$custom-light: #a37cec;
$custom-dark: #000000;
JSON
{
  "hex": "#7045e1",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 256.538,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.22207,
    "h": 289.2
  },
  "luminance": 0.13137
}

Semantic roles & 50–950 ramp

primary
#7045E1
secondary
#CFE0A2
accent
#EF39BD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7045E1

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

Preview Lab → · Contrast checker → · Palette generator →

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