#7045B3#7045B3

#7045B3 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.168 H 298.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7045B3
RGBrgb(112, 69, 179)
HSLhsl(263, 44%, 49%)
HSVhsv(263, 61%, 70%)
CMYKcmyk(37.4%, 61.5%, 0%, 29.8%)
CIE-LABlab(39.51, 42.16, -52.01)
CIE-LCHlch(39.51, 66.95, 309.03°)
OKLaboklab(49.65% 0.0787 -0.1479)
OKLCHoklch(49.65% 0.168 298)
XYZxyz(16.9449, 10.9554, 43.8610)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045B3 #88B345
analogous
#4551B3 #7045B3 #A745B3
triadic
#7045B3 #B37045 #45B370
tetradic
#7045B3 #B34551 #88B345 #45B3A7
square
#7045B3 #B34551 #88B345 #45B3A7
split-complementary
#7045B3 #B3A745 #51B345
monochromatic
#39235B #543487 #7045B3 #916EC7 #B29AD8

Accessibility & contrast

On white

6.58
#7045B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7045B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045B3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045B3#FFFFFF#000000##FFFFFF
##7045B31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#165CB1
Tritanopia (blue-blind)
#615D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7045b3;
/* rgb */ color: rgb(112, 69, 179);
/* oklch */ color: oklch(49.7% 0.168 298.0);
Tailwind
colors: {
  custom: {
    50: '#9e7bca',
    500: '#7045b3',
    950: '#000000',
  },
}
SCSS
$custom: #7045b3;
$custom-light: #9e7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7045b3",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 263.455,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49654,
    "c": 0.16752,
    "h": 298
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#7045B3
secondary
#B0C48F
accent
#D454A2
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7045B3

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

Preview Lab → · Contrast checker → · Palette generator →

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