#7045D3#7045D3

#7045D3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.206 H 291.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7045D3
RGBrgb(112, 69, 211)
HSLhsl(258, 62%, 55%)
HSVhsv(258, 67%, 83%)
CMYKcmyk(46.9%, 67.3%, 0%, 17.3%)
CIE-LABlab(41.85, 50.81, -66.85)
CIE-LCHlch(41.85, 83.97, 307.24°)
OKLaboklab(52.09% 0.0755 -0.1915)
OKLCHoklch(52.09% 0.206 291.5)
XYZxyz(20.5648, 12.4034, 62.9259)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045D3 #A8D345
analogous
#4561D3 #7045D3 #B745D3
triadic
#7045D3 #D37045 #45D370
tetradic
#7045D3 #D34561 #A8D345 #45D3B7
square
#7045D3 #D34561 #A8D345 #45D3B7
split-complementary
#7045D3 #D3B745 #61D345
monochromatic
#3C1E7F #532AB1 #7045D3 #9676DF #BCA8EA

Accessibility & contrast

On white

6.03
#7045D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7045D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045D3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045D3#FFFFFF#000000##FFFFFF
##7045D31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#516886
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7045d3;
/* rgb */ color: rgb(112, 69, 211);
/* oklch */ color: oklch(52.1% 0.206 291.5);
Tailwind
colors: {
  custom: {
    50: '#a17ce1',
    500: '#7045d3',
    950: '#000000',
  },
}
SCSS
$custom: #7045d3;
$custom-light: #a17ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7045d3",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 258.169,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.20584,
    "h": 291.5
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#7045D3
secondary
#C6D89C
accent
#E543B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7045D3

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

Preview Lab → · Contrast checker → · Palette generator →

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