#7045AF#7045AF

#7045AF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.4% C 0.163 H 299.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7045AF
RGBrgb(112, 69, 175)
HSLhsl(264, 43%, 48%)
HSVhsv(264, 61%, 69%)
CMYKcmyk(36%, 60.6%, 0%, 31.4%)
CIE-LABlab(39.23, 41.10, -50.08)
CIE-LCHlch(39.23, 64.79, 309.38°)
OKLaboklab(49.37% 0.0789 -0.1422)
OKLCHoklch(49.37% 0.163 299)
XYZxyz(16.5462, 10.7960, 41.7612)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7045AF #84AF45
analogous
#454FAF #7045AF #A545AF
triadic
#7045AF #AF7045 #45AF70
tetradic
#7045AF #AF454F #84AF45 #45AFA5
square
#7045AF #AF454F #84AF45 #45AFA5
split-complementary
#7045AF #AFA545 #4FAF45
monochromatic
#382257 #543483 #7045AF #906CC5 #B198D6

Accessibility & contrast

On white

6.65
#7045AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7045AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7045AF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7045AF#FFFFFF#000000##FFFFFF
##7045AF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#1E5BAD
Tritanopia (blue-blind)
#625C73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7045af;
/* rgb */ color: rgb(112, 69, 175);
/* oklch */ color: oklch(49.4% 0.163 299.0);
Tailwind
colors: {
  custom: {
    50: '#9d7bc7',
    500: '#7045af',
    950: '#000000',
  },
}
SCSS
$custom: #7045af;
$custom-light: #9d7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7045af",
  "rgb": {
    "r": 112,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 264.34,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.16261,
    "h": 299
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#7045AF
secondary
#ADC28D
accent
#D355A0
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7045AF

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

Preview Lab → · Contrast checker → · Palette generator →

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