#7246DC#7246DC

#7246DC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.215 H 290.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7246DC
RGBrgb(114, 70, 220)
HSLhsl(258, 68%, 57%)
HSVhsv(258, 68%, 86%)
CMYKcmyk(48.2%, 68.2%, 0%, 13.7%)
CIE-LABlab(42.95, 53.11, -70.21)
CIE-LCHlch(42.95, 88.03, 307.11°)
OKLaboklab(53.14% 0.0759 -0.2013)
OKLCHoklch(53.14% 0.215 290.7)
XYZxyz(22.0442, 13.1242, 69.0680)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246DC #B0DC46
analogous
#4665DC #7246DC #BD46DC
triadic
#7246DC #DC7246 #46DC72
tetradic
#7246DC #DC4665 #B0DC46 #46DCBD
square
#7246DC #DC4665 #B0DC46 #46DCBD
split-complementary
#7246DC #DCBD46 #65DC46
monochromatic
#3C1B8D #5224C0 #7246DC #9979E6 #C0ADEF

Accessibility & contrast

On white

5.79
#7246DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7246DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246DC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246DC#FFFFFF#000000##FFFFFF
##7246DC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#4F6C8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7246dc;
/* rgb */ color: rgb(114, 70, 220);
/* oklch */ color: oklch(53.1% 0.215 290.7);
Tailwind
colors: {
  custom: {
    50: '#a37de8',
    500: '#7246dc',
    950: '#000000',
  },
}
SCSS
$custom: #7246dc;
$custom-light: #a37de8;
$custom-dark: #000000;
JSON
{
  "hex": "#7246dc",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 257.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53141,
    "c": 0.21513,
    "h": 290.7
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#7246DC
secondary
#CCDDA0
accent
#EB3DB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7246DC

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

Preview Lab → · Contrast checker → · Palette generator →

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