#7045E8#7045E8

#7045E8 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.230 H 288.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7045E8
RGBrgb(112, 69, 232)
HSLhsl(256, 78%, 59%)
HSVhsv(256, 70%, 91%)
CMYKcmyk(51.7%, 70.3%, 0%, 9%)
CIE-LABlab(43.55, 56.58, -76.07)
CIE-LCHlch(43.55, 94.80, 306.65°)
OKLaboklab(53.82% 0.0719 -0.2185)
OKLCHoklch(53.82% 0.23 288.2)
XYZxyz(23.3714, 13.5261, 77.7076)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045E8 #BDE845
analogous
#456CE8 #7045E8 #C145E8
triadic
#7045E8 #E87045 #45E870
tetradic
#7045E8 #E8456C #BDE845 #45E8C1
square
#7045E8 #E8456C #BDE845 #45E8C1
split-complementary
#7045E8 #E8C145 #6CE845
monochromatic
#38149F #4C1AD5 #7045E8 #9A7BEF #C4B2F5

Accessibility & contrast

On white

5.67
#7045E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7045E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045E8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045E8#FFFFFF#000000##FFFFFF
##7045E81.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#427092
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7045e8;
/* rgb */ color: rgb(112, 69, 232);
/* oklch */ color: oklch(53.8% 0.230 288.2);
Tailwind
colors: {
  custom: {
    50: '#a47cf1',
    500: '#7045e8',
    950: '#000000',
  },
}
SCSS
$custom: #7045e8;
$custom-light: #a47cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7045e8",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 255.828,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.23006,
    "h": 288.2
  },
  "luminance": 0.13527
}

Semantic roles & 50–950 ramp

primary
#7045E8
secondary
#D4E4A4
accent
#F433C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7045E8

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

Preview Lab → · Contrast checker → · Palette generator →

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