#7045D5#7045D5

#7045D5 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.208 H 291.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7045D5
RGBrgb(112, 69, 213)
HSLhsl(258, 63%, 55%)
HSVhsv(258, 68%, 84%)
CMYKcmyk(47.4%, 67.6%, 0%, 16.5%)
CIE-LABlab(42.01, 51.36, -67.74)
CIE-LCHlch(42.01, 85.01, 307.17°)
OKLaboklab(52.25% 0.0752 -0.1941)
OKLCHoklch(52.25% 0.208 291.2)
XYZxyz(20.8171, 12.5043, 64.2546)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045D5 #AAD545
analogous
#4562D5 #7045D5 #B845D5
triadic
#7045D5 #D57045 #45D570
tetradic
#7045D5 #D54562 #AAD545 #45D5B8
square
#7045D5 #D54562 #AAD545 #45D5B8
split-complementary
#7045D5 #D5B845 #62D545
monochromatic
#3C1D82 #5229B4 #7045D5 #9677E0 #BDA9EC

Accessibility & contrast

On white

6.00
#7045D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7045D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045D5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045D5#FFFFFF#000000##FFFFFF
##7045D51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#506987
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7045d5;
/* rgb */ color: rgb(112, 69, 213);
/* oklch */ color: oklch(52.2% 0.208 291.2);
Tailwind
colors: {
  custom: {
    50: '#a17ce3',
    500: '#7045d5',
    950: '#000000',
  },
}
SCSS
$custom: #7045d5;
$custom-light: #a17ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#7045d5",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 257.917,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.20818,
    "h": 291.2
  },
  "luminance": 0.12505
}

Semantic roles & 50–950 ramp

primary
#7045D5
secondary
#C7D99D
accent
#E642B5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7045D5

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

Preview Lab → · Contrast checker → · Palette generator →

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