#7045B2#7045B2

#7045B2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.6% C 0.166 H 298.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7045B2
RGBrgb(112, 69, 178)
HSLhsl(264, 44%, 48%)
HSVhsv(264, 61%, 70%)
CMYKcmyk(37.1%, 61.2%, 0%, 30.2%)
CIE-LABlab(39.44, 41.90, -51.53)
CIE-LCHlch(39.44, 66.41, 309.11°)
OKLaboklab(49.58% 0.0788 -0.1464)
OKLCHoklch(49.58% 0.166 298.3)
XYZxyz(16.8441, 10.9151, 43.3302)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045B2 #87B245
analogous
#4550B2 #7045B2 #A645B2
triadic
#7045B2 #B27045 #45B270
tetradic
#7045B2 #B24550 #87B245 #45B2A6
square
#7045B2 #B24550 #87B245 #45B2A6
split-complementary
#7045B2 #B2A645 #50B245
monochromatic
#38235A #543486 #7045B2 #916EC7 #B29AD8

Accessibility & contrast

On white

6.60
#7045B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7045B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045B2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045B2#FFFFFF#000000##FFFFFF
##7045B21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#615D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7045b2;
/* rgb */ color: rgb(112, 69, 178);
/* oklch */ color: oklch(49.6% 0.166 298.3);
Tailwind
colors: {
  custom: {
    50: '#9d7bca',
    500: '#7045b2',
    950: '#000000',
  },
}
SCSS
$custom: #7045b2;
$custom-light: #9d7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7045b2",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 263.67,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.1663,
    "h": 298.3
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#7045B2
secondary
#AFC48F
accent
#D454A1
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7045B2

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

Preview Lab → · Contrast checker → · Palette generator →

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