#7045B7#7045B7

#7045B7 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.172 H 297.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7045B7
RGBrgb(112, 69, 183)
HSLhsl(263, 45%, 49%)
HSVhsv(263, 62%, 72%)
CMYKcmyk(38.8%, 62.3%, 0%, 28.2%)
CIE-LABlab(39.78, 43.23, -53.92)
CIE-LCHlch(39.78, 69.11, 308.72°)
OKLaboklab(49.94% 0.0785 -0.1535)
OKLCHoklch(49.94% 0.172 297.1)
XYZxyz(17.3553, 11.1196, 46.0225)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045B7 #8CB745
analogous
#4553B7 #7045B7 #A945B7
triadic
#7045B7 #B77045 #45B770
tetradic
#7045B7 #B74553 #8CB745 #45B7A9
square
#7045B7 #B74553 #8CB745 #45B7A9
split-complementary
#7045B7 #B7A945 #53B745
monochromatic
#3A235E #55348B #7045B7 #9270C9 #B49DDA

Accessibility & contrast

On white

6.51
#7045B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7045B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045B7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045B7#FFFFFF#000000##FFFFFF
##7045B71.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#095CB5
Tritanopia (blue-blind)
#5F5E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7045b7;
/* rgb */ color: rgb(112, 69, 183);
/* oklch */ color: oklch(49.9% 0.172 297.1);
Tailwind
colors: {
  custom: {
    50: '#9e7bcd',
    500: '#7045b7',
    950: '#000000',
  },
}
SCSS
$custom: #7045b7;
$custom-light: #9e7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7045b7",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 262.632,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49942,
    "c": 0.17239,
    "h": 297.1
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#7045B7
secondary
#B2C692
accent
#D553A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7045B7

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

Preview Lab → · Contrast checker → · Palette generator →

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