#7245AE#7245AE

#7245AE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.162 H 300.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7245AE
RGBrgb(114, 69, 174)
HSLhsl(266, 43%, 48%)
HSVhsv(266, 60%, 68%)
CMYKcmyk(34.5%, 60.3%, 0%, 31.8%)
CIE-LABlab(39.39, 41.31, -49.22)
CIE-LCHlch(39.39, 64.26, 310.01°)
OKLaboklab(49.52% 0.0817 -0.1396)
OKLCHoklch(49.52% 0.162 300.3)
XYZxyz(16.7057, 10.8895, 41.2580)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7245AE #81AE45
analogous
#454DAE #7245AE #A645AE
triadic
#7245AE #AE7245 #45AE72
tetradic
#7245AE #AE454D #81AE45 #45AEA6
square
#7245AE #AE454D #81AE45 #45AEA6
split-complementary
#7245AE #AEA645 #4DAE45
monochromatic
#392256 #553482 #7245AE #926CC5 #B297D6

Accessibility & contrast

On white

6.61
#7245AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7245AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7245AE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7245AE#FFFFFF#000000##FFFFFF
##7245AE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055CB1
Deuteranopia (green-blind)
#235CAC
Tritanopia (blue-blind)
#655B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7245ae;
/* rgb */ color: rgb(114, 69, 174);
/* oklch */ color: oklch(49.5% 0.162 300.3);
Tailwind
colors: {
  custom: {
    50: '#9e7bc7',
    500: '#7245ae',
    950: '#000000',
  },
}
SCSS
$custom: #7245ae;
$custom-light: #9e7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7245ae",
  "rgb": {
    "r": 114,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 265.714,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49516,
    "c": 0.16172,
    "h": 300.3
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#7245AE
secondary
#ABC28D
accent
#D3559D
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7245AE

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

Preview Lab → · Contrast checker → · Palette generator →

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