#7246A4#7246A4

#7246A4 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.148 H 302.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7246A4
RGBrgb(114, 70, 164)
HSLhsl(268, 40%, 46%)
HSVhsv(268, 57%, 64%)
CMYKcmyk(30.5%, 57.3%, 0%, 35.7%)
CIE-LABlab(38.96, 38.18, -43.96)
CIE-LCHlch(38.96, 58.22, 310.97°)
OKLaboklab(49% 0.0804 -0.1242)
OKLCHoklch(49% 0.148 302.9)
XYZxyz(15.8289, 10.6381, 36.3342)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246A4 #78A446
analogous
#4649A4 #7246A4 #A146A4
triadic
#7246A4 #A47246 #46A472
tetradic
#7246A4 #A44649 #78A446 #46A4A1
square
#7246A4 #A44649 #78A446 #46A4A1
split-complementary
#7246A4 #A4A146 #49A446
monochromatic
#36214E #543479 #7246A4 #9168BF #B093D1

Accessibility & contrast

On white

6.71
#7246A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7246A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246A4
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246A4#FFFFFF#000000##FFFFFF
##7246A41.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA7
Deuteranopia (green-blind)
#305CA2
Tritanopia (blue-blind)
#69586E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7246a4;
/* rgb */ color: rgb(114, 70, 164);
/* oklch */ color: oklch(49.0% 0.148 302.9);
Tailwind
colors: {
  custom: {
    50: '#9e7bbf',
    500: '#7246a4',
    950: '#000000',
  },
}
SCSS
$custom: #7246a4;
$custom-light: #9e7bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7246a4",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 268.085,
    "s": 40.171,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.14792,
    "h": 302.9
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#7246A4
secondary
#A5BD89
accent
#D05898
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #7246A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7246A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva