#7045C7#7045C7

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

Color values

HEX#7045C7
RGBrgb(112, 69, 199)
HSLhsl(260, 54%, 53%)
HSVhsv(260, 65%, 78%)
CMYKcmyk(43.7%, 65.3%, 0%, 22%)
CIE-LABlab(40.94, 47.54, -61.40)
CIE-LCHlch(40.94, 77.66, 307.75°)
OKLaboklab(51.14% 0.0771 -0.1755)
OKLCHoklch(51.14% 0.192 293.7)
XYZxyz(19.1162, 11.8240, 55.2968)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045C7 #9CC745
analogous
#455BC7 #7045C7 #B145C7
triadic
#7045C7 #C77045 #45C770
tetradic
#7045C7 #C7455B #9CC745 #45C7B1
square
#7045C7 #C7455B #9CC745 #45C7B1
split-complementary
#7045C7 #C7B145 #5BC745
monochromatic
#3C2270 #55309F #7045C7 #9474D5 #B8A3E3

Accessibility & contrast

On white

6.24
#7045C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7045C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045C7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045C7#FFFFFF#000000##FFFFFF
##7045C71.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#586480
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7045c7;
/* rgb */ color: rgb(112, 69, 199);
/* oklch */ color: oklch(51.1% 0.192 293.7);
Tailwind
colors: {
  custom: {
    50: '#a07bd9',
    500: '#7045c7',
    950: '#000000',
  },
}
SCSS
$custom: #7045c7;
$custom-light: #a07bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7045c7",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 259.846,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.19167,
    "h": 293.7
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#7045C7
secondary
#BDD098
accent
#DD4BAD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #7045C7

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

Preview Lab → · Contrast checker → · Palette generator →

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