#7246DA#7246DA

#7246DA is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.213 H 291.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7246DA
RGBrgb(114, 70, 218)
HSLhsl(258, 67%, 56%)
HSVhsv(258, 68%, 85%)
CMYKcmyk(47.7%, 67.9%, 0%, 14.5%)
CIE-LABlab(42.79, 52.56, -69.32)
CIE-LCHlch(42.79, 86.99, 307.17°)
OKLaboklab(52.98% 0.0762 -0.1987)
OKLCHoklch(52.98% 0.213 291)
XYZxyz(21.7809, 13.0189, 67.6813)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246DA #AEDA46
analogous
#4664DA #7246DA #BC46DA
triadic
#7246DA #DA7246 #46DA72
tetradic
#7246DA #DA4664 #AEDA46 #46DABC
square
#7246DA #DA4664 #AEDA46 #46DABC
split-complementary
#7246DA #DABC46 #64DA46
monochromatic
#3C1C8A #5326BD #7246DA #9979E4 #C0ACEE

Accessibility & contrast

On white

5.83
#7246DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7246DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246DA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246DA#FFFFFF#000000##FFFFFF
##7246DA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#506B8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7246da;
/* rgb */ color: rgb(114, 70, 218);
/* oklch */ color: oklch(53.0% 0.213 291.0);
Tailwind
colors: {
  custom: {
    50: '#a37de6',
    500: '#7246da',
    950: '#000000',
  },
}
SCSS
$custom: #7246da;
$custom-light: #a37de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7246da",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 257.838,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52979,
    "c": 0.21281,
    "h": 291
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#7246DA
secondary
#CADCA0
accent
#EA3EB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7246DA

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

Preview Lab → · Contrast checker → · Palette generator →

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