#7246C2#7246C2

#7246C2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.185 H 295.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7246C2
RGBrgb(114, 70, 194)
HSLhsl(261, 50%, 52%)
HSVhsv(261, 64%, 76%)
CMYKcmyk(41.2%, 63.9%, 0%, 23.9%)
CIE-LABlab(40.98, 46.05, -58.41)
CIE-LCHlch(40.98, 74.38, 308.25°)
OKLaboklab(51.11% 0.0793 -0.1666)
OKLCHoklch(51.11% 0.185 295.4)
XYZxyz(18.8646, 11.8524, 52.3223)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246C2 #96C246
analogous
#4658C2 #7246C2 #B046C2
triadic
#7246C2 #C27246 #46C272
tetradic
#7246C2 #C24658 #96C246 #46C2B0
square
#7246C2 #C24658 #96C246 #46C2B0
split-complementary
#7246C2 #C2B046 #58C246
monochromatic
#3C236A #573299 #7246C2 #9574D1 #B8A2E0

Accessibility & contrast

On white

6.23
#7246C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7246C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246C2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246C2#FFFFFF#000000##FFFFFF
##7246C21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#5D627E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7246c2;
/* rgb */ color: rgb(114, 70, 194);
/* oklch */ color: oklch(51.1% 0.185 295.4);
Tailwind
colors: {
  custom: {
    50: '#a07cd5',
    500: '#7246c2',
    950: '#000000',
  },
}
SCSS
$custom: #7246c2;
$custom-light: #a07cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7246c2",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 261.29,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.18451,
    "h": 295.4
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#7246C2
secondary
#BACD97
accent
#DA4EA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7246C2

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

Preview Lab → · Contrast checker → · Palette generator →

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