#7045CC#7045CC

#7045CC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.198 H 292.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7045CC
RGBrgb(112, 69, 204)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(45.1%, 66.2%, 0%, 20%)
CIE-LABlab(41.31, 48.90, -63.69)
CIE-LCHlch(41.31, 80.30, 307.52°)
OKLaboklab(51.53% 0.0765 -0.1822)
OKLCHoklch(51.53% 0.198 292.8)
XYZxyz(19.7063, 12.0600, 58.4046)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045CC #A1CC45
analogous
#455DCC #7045CC #B345CC
triadic
#7045CC #CC7045 #45CC70
tetradic
#7045CC #CC455D #A1CC45 #45CCB3
square
#7045CC #CC455D #A1CC45 #45CCB3
split-complementary
#7045CC #CCB345 #5DCC45
monochromatic
#3C2076 #542EA6 #7045CC #9575D9 #BAA5E6

Accessibility & contrast

On white

6.15
#7045CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7045CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045CC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045CC#FFFFFF#000000##FFFFFF
##7045CC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#556683
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7045cc;
/* rgb */ color: rgb(112, 69, 204);
/* oklch */ color: oklch(51.5% 0.198 292.8);
Tailwind
colors: {
  custom: {
    50: '#a07bdc',
    500: '#7045cc',
    950: '#000000',
  },
}
SCSS
$custom: #7045cc;
$custom-light: #a07bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7045cc",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 259.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.1976,
    "h": 292.8
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#7045CC
secondary
#C1D399
accent
#E048B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7045CC

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

Preview Lab → · Contrast checker → · Palette generator →

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