#7145AF#7145AF

#7145AF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.163 H 299.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7145AF
RGBrgb(113, 69, 175)
HSLhsl(265, 43%, 48%)
HSVhsv(265, 61%, 69%)
CMYKcmyk(35.4%, 60.6%, 0%, 31.4%)
CIE-LABlab(39.35, 41.34, -49.89)
CIE-LCHlch(39.35, 64.79, 309.64°)
OKLaboklab(49.48% 0.0803 -0.1416)
OKLCHoklch(49.48% 0.163 299.5)
XYZxyz(16.6741, 10.8619, 41.7672)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145AF #83AF45
analogous
#454EAF #7145AF #A645AF
triadic
#7145AF #AF7145 #45AF71
tetradic
#7145AF #AF454E #83AF45 #45AFA6
square
#7145AF #AF454E #83AF45 #45AFA6
split-complementary
#7145AF #AFA645 #4EAF45
monochromatic
#382257 #553483 #7145AF #916CC5 #B298D6

Accessibility & contrast

On white

6.62
#7145AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7145AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145AF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145AF#FFFFFF#000000##FFFFFF
##7145AF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#205CAD
Tritanopia (blue-blind)
#645B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7145af;
/* rgb */ color: rgb(113, 69, 175);
/* oklch */ color: oklch(49.5% 0.163 299.5);
Tailwind
colors: {
  custom: {
    50: '#9e7bc7',
    500: '#7145af',
    950: '#000000',
  },
}
SCSS
$custom: #7145af;
$custom-light: #9e7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7145af",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 264.906,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49478,
    "c": 0.16277,
    "h": 299.5
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#7145AF
secondary
#ACC28D
accent
#D3559F
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7145AF

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

Preview Lab → · Contrast checker → · Palette generator →

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