#7045AC#7045AC

#7045AC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.2% C 0.159 H 299.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7045AC
RGBrgb(112, 69, 172)
HSLhsl(265, 43%, 47%)
HSVhsv(265, 60%, 67%)
CMYKcmyk(34.9%, 59.9%, 0%, 32.5%)
CIE-LABlab(39.04, 40.31, -48.62)
CIE-LCHlch(39.04, 63.16, 309.66°)
OKLaboklab(49.16% 0.079 -0.1379)
OKLCHoklch(49.16% 0.159 299.8)
XYZxyz(16.2548, 10.6794, 40.2267)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045AC #81AC45
analogous
#454DAC #7045AC #A445AC
triadic
#7045AC #AC7045 #45AC70
tetradic
#7045AC #AC454D #81AC45 #45ACA4
square
#7045AC #AC454D #81AC45 #45ACA4
split-complementary
#7045AC #ACA445 #4DAC45
monochromatic
#372255 #543380 #7045AC #906BC4 #B196D5

Accessibility & contrast

On white

6.70
#7045AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7045AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045AC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045AC#FFFFFF#000000##FFFFFF
##7045AC1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095CAF
Deuteranopia (green-blind)
#235BAA
Tritanopia (blue-blind)
#635B72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7045ac;
/* rgb */ color: rgb(112, 69, 172);
/* oklch */ color: oklch(49.2% 0.159 299.8);
Tailwind
colors: {
  custom: {
    50: '#9d7bc5',
    500: '#7045ac',
    950: '#000000',
  },
}
SCSS
$custom: #7045ac;
$custom-light: #9d7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7045ac",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 265.049,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.15893,
    "h": 299.8
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#7045AC
secondary
#ABC18C
accent
#D3559E
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #7045AC

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

Preview Lab → · Contrast checker → · Palette generator →

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