#7246D9#7246D9

#7246D9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.212 H 291.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7246D9
RGBrgb(114, 70, 217)
HSLhsl(258, 66%, 56%)
HSVhsv(258, 68%, 85%)
CMYKcmyk(47.5%, 67.7%, 0%, 14.9%)
CIE-LABlab(42.71, 52.29, -68.88)
CIE-LCHlch(42.71, 86.48, 307.20°)
OKLaboklab(52.9% 0.0764 -0.1974)
OKLCHoklch(52.9% 0.212 291.2)
XYZxyz(21.6504, 12.9667, 66.9943)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246D9 #ADD946
analogous
#4664D9 #7246D9 #BC46D9
triadic
#7246D9 #D97246 #46D972
tetradic
#7246D9 #D94664 #ADD946 #46D9BC
square
#7246D9 #D94664 #ADD946 #46D9BC
split-complementary
#7246D9 #D9BC46 #64D946
monochromatic
#3D1C89 #5326BB #7246D9 #9979E3 #BFACEE

Accessibility & contrast

On white

5.84
#7246D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7246D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246D9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246D9#FFFFFF#000000##FFFFFF
##7246D91.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#516B8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7246d9;
/* rgb */ color: rgb(114, 70, 217);
/* oklch */ color: oklch(52.9% 0.212 291.2);
Tailwind
colors: {
  custom: {
    50: '#a37ce6',
    500: '#7246d9',
    950: '#000000',
  },
}
SCSS
$custom: #7246d9;
$custom-light: #a37ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7246d9",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 257.959,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.21165,
    "h": 291.2
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#7246D9
secondary
#CADC9F
accent
#E93FB6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7246D9

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

Preview Lab → · Contrast checker → · Palette generator →

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