#7145AE#7145AE

#7145AE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.4% C 0.162 H 299.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7145AE
RGBrgb(113, 69, 174)
HSLhsl(265, 43%, 48%)
HSVhsv(265, 60%, 68%)
CMYKcmyk(35.1%, 60.3%, 0%, 31.8%)
CIE-LABlab(39.28, 41.08, -49.41)
CIE-LCHlch(39.28, 64.25, 309.74°)
OKLaboklab(49.41% 0.0803 -0.1402)
OKLCHoklch(49.41% 0.162 299.8)
XYZxyz(16.5763, 10.8228, 41.2519)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145AE #82AE45
analogous
#454DAE #7145AE #A645AE
triadic
#7145AE #AE7145 #45AE71
tetradic
#7145AE #AE454D #82AE45 #45AEA6
square
#7145AE #AE454D #82AE45 #45AEA6
split-complementary
#7145AE #AEA645 #4DAE45
monochromatic
#382256 #553482 #7145AE #916CC5 #B297D6

Accessibility & contrast

On white

6.64
#7145AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7145AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145AE
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145AE#FFFFFF#000000##FFFFFF
##7145AE1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045CB1
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#645B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7145ae;
/* rgb */ color: rgb(113, 69, 174);
/* oklch */ color: oklch(49.4% 0.162 299.8);
Tailwind
colors: {
  custom: {
    50: '#9e7bc7',
    500: '#7145ae',
    950: '#000000',
  },
}
SCSS
$custom: #7145ae;
$custom-light: #9e7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7145ae",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 265.143,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49408,
    "c": 0.16155,
    "h": 299.8
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7145AE

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

Preview Lab → · Contrast checker → · Palette generator →

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