#7246AC#7246AC

#7246AC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.158 H 300.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7246AC
RGBrgb(114, 70, 172)
HSLhsl(266, 42%, 47%)
HSVhsv(266, 59%, 67%)
CMYKcmyk(33.7%, 59.3%, 0%, 32.5%)
CIE-LABlab(39.47, 40.23, -47.91)
CIE-LCHlch(39.47, 62.56, 310.03°)
OKLaboklab(49.53% 0.0804 -0.1357)
OKLCHoklch(49.53% 0.158 300.7)
XYZxyz(16.5742, 10.9362, 40.2594)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246AC #80AC46
analogous
#464DAC #7246AC #A546AC
triadic
#7246AC #AC7246 #46AC72
tetradic
#7246AC #AC464D #80AC46 #46ACA5
square
#7246AC #AC464D #80AC46 #46ACA5
split-complementary
#7246AC #ACA546 #4DAC46
monochromatic
#382355 #553481 #7246AC #926CC3 #B298D5

Accessibility & contrast

On white

6.59
#7246AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7246AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246AC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246AC#FFFFFF#000000##FFFFFF
##7246AC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DAF
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#665B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7246ac;
/* rgb */ color: rgb(114, 70, 172);
/* oklch */ color: oklch(49.5% 0.158 300.7);
Tailwind
colors: {
  custom: {
    50: '#9e7bc5',
    500: '#7246ac',
    950: '#000000',
  },
}
SCSS
$custom: #7246ac;
$custom-light: #9e7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7246ac",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 265.882,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49532,
    "c": 0.15778,
    "h": 300.7
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#7246AC
secondary
#AAC18D
accent
#D2569C
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7246AC

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

Preview Lab → · Contrast checker → · Palette generator →

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