#7045E2#7045E2

#7045E2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.223 H 289.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7045E2
RGBrgb(112, 69, 226)
HSLhsl(256, 73%, 58%)
HSVhsv(256, 69%, 89%)
CMYKcmyk(50.4%, 69.5%, 0%, 11.4%)
CIE-LABlab(43.05, 54.93, -73.47)
CIE-LCHlch(43.05, 91.74, 306.78°)
OKLaboklab(53.32% 0.073 -0.2109)
OKLCHoklch(53.32% 0.223 289.1)
XYZxyz(22.5337, 13.1910, 73.2955)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045E2 #B7E245
analogous
#4568E2 #7045E2 #BE45E2
triadic
#7045E2 #E27045 #45E270
tetradic
#7045E2 #E24568 #B7E245 #45E2BE
square
#7045E2 #E24568 #B7E245 #45E2BE
split-complementary
#7045E2 #E2BE45 #68E245
monochromatic
#3A1795 #4E20CA #7045E2 #997AEA #C1AFF3

Accessibility & contrast

On white

5.77
#7045E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7045E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045E2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045E2#FFFFFF#000000##FFFFFF
##7045E21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#476E8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7045e2;
/* rgb */ color: rgb(112, 69, 226);
/* oklch */ color: oklch(53.3% 0.223 289.1);
Tailwind
colors: {
  custom: {
    50: '#a37cec',
    500: '#7045e2',
    950: '#000000',
  },
}
SCSS
$custom: #7045e2;
$custom-light: #a37cec;
$custom-dark: #000000;
JSON
{
  "hex": "#7045e2",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 256.433,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53316,
    "c": 0.22321,
    "h": 289.1
  },
  "luminance": 0.13192
}

Semantic roles & 50–950 ramp

primary
#7045E2
secondary
#D0E1A2
accent
#F038BD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7045E2

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

Preview Lab → · Contrast checker → · Palette generator →

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