#7246C5#7246C5

#7246C5 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.188 H 294.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7246C5
RGBrgb(114, 70, 197)
HSLhsl(261, 52%, 52%)
HSVhsv(261, 64%, 77%)
CMYKcmyk(42.1%, 64.5%, 0%, 22.7%)
CIE-LABlab(41.20, 46.86, -59.80)
CIE-LCHlch(41.20, 75.98, 308.08°)
OKLaboklab(51.33% 0.079 -0.1707)
OKLCHoklch(51.33% 0.188 294.8)
XYZxyz(19.2049, 11.9885, 54.1147)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246C5 #99C546
analogous
#465AC5 #7246C5 #B146C5
triadic
#7246C5 #C57246 #46C572
tetradic
#7246C5 #C5465A #99C546 #46C5B1
square
#7246C5 #C5465A #99C546 #46C5B1
split-complementary
#7246C5 #C5B146 #5AC546
monochromatic
#3D236E #56319D #7246C5 #9675D4 #B9A3E2

Accessibility & contrast

On white

6.18
#7246C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7246C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246C5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246C5#FFFFFF#000000##FFFFFF
##7246C51.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#5C647F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7246c5;
/* rgb */ color: rgb(114, 70, 197);
/* oklch */ color: oklch(51.3% 0.188 294.8);
Tailwind
colors: {
  custom: {
    50: '#a17cd7',
    500: '#7246c5',
    950: '#000000',
  },
}
SCSS
$custom: #7246c5;
$custom-light: #a17cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7246c5",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 260.787,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51334,
    "c": 0.1881,
    "h": 294.8
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#7246C5
secondary
#BCCF98
accent
#DC4CAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7246C5

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

Preview Lab → · Contrast checker → · Palette generator →

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