#7045C6#7045C6

#7045C6 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.190 H 293.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7045C6
RGBrgb(112, 69, 198)
HSLhsl(260, 53%, 52%)
HSVhsv(260, 65%, 78%)
CMYKcmyk(43.4%, 65.2%, 0%, 22.4%)
CIE-LABlab(40.86, 47.27, -60.94)
CIE-LCHlch(40.86, 77.13, 307.80°)
OKLaboklab(51.06% 0.0772 -0.1741)
OKLCHoklch(51.06% 0.19 293.9)
XYZxyz(19.0005, 11.7777, 54.6874)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045C6 #9BC645
analogous
#455BC6 #7045C6 #B045C6
triadic
#7045C6 #C67045 #45C670
tetradic
#7045C6 #C6455B #9BC645 #45C6B0
square
#7045C6 #C6455B #9BC645 #45C6B0
split-complementary
#7045C6 #C6B045 #5BC645
monochromatic
#3C226F #55309E #7045C6 #9474D4 #B8A3E3

Accessibility & contrast

On white

6.26
#7045C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7045C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045C6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045C6#FFFFFF#000000##FFFFFF
##7045C61.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#58637F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7045c6;
/* rgb */ color: rgb(112, 69, 198);
/* oklch */ color: oklch(51.1% 0.190 293.9);
Tailwind
colors: {
  custom: {
    50: '#a07bd8',
    500: '#7045c6',
    950: '#000000',
  },
}
SCSS
$custom: #7045c6;
$custom-light: #a07bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7045c6",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 260,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.19047,
    "h": 293.9
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#7045C6
secondary
#BDCF97
accent
#DC4BAC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #7045C6

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

Preview Lab → · Contrast checker → · Palette generator →

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