#7045CD#7045CD

#7045CD is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.199 H 292.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7045CD
RGBrgb(112, 69, 205)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(45.4%, 66.3%, 0%, 19.6%)
CIE-LABlab(41.39, 49.17, -64.14)
CIE-LCHlch(41.39, 80.82, 307.47°)
OKLaboklab(51.61% 0.0763 -0.1835)
OKLCHoklch(51.61% 0.199 292.6)
XYZxyz(19.8266, 12.1081, 59.0382)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045CD #A2CD45
analogous
#455ECD #7045CD #B445CD
triadic
#7045CD #CD7045 #45CD70
tetradic
#7045CD #CD455E #A2CD45 #45CDB4
square
#7045CD #CD455E #A2CD45 #45CDB4
split-complementary
#7045CD #CDB445 #5ECD45
monochromatic
#3C2077 #542DA8 #7045CD #9575DA #BAA5E7

Accessibility & contrast

On white

6.14
#7045CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7045CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045CD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045CD#FFFFFF#000000##FFFFFF
##7045CD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#546683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7045cd;
/* rgb */ color: rgb(112, 69, 205);
/* oklch */ color: oklch(51.6% 0.199 292.6);
Tailwind
colors: {
  custom: {
    50: '#a07bdd',
    500: '#7045cd',
    950: '#000000',
  },
}
SCSS
$custom: #7045cd;
$custom-light: #a07bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7045cd",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 258.971,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51609,
    "c": 0.19878,
    "h": 292.6
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#7045CD
secondary
#C2D49A
accent
#E147B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7045CD

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

Preview Lab → · Contrast checker → · Palette generator →

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