#7246DF#7246DF

#7246DF is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.219 H 290.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7246DF
RGBrgb(114, 70, 223)
HSLhsl(257, 71%, 57%)
HSVhsv(257, 69%, 87%)
CMYKcmyk(48.9%, 68.6%, 0%, 12.5%)
CIE-LABlab(43.19, 53.93, -71.53)
CIE-LCHlch(43.19, 89.58, 307.01°)
OKLaboklab(53.39% 0.0754 -0.2052)
OKLCHoklch(53.39% 0.219 290.2)
XYZxyz(22.4451, 13.2845, 71.1793)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246DF #B3DF46
analogous
#4666DF #7246DF #BF46DF
triadic
#7246DF #DF7246 #46DF72
tetradic
#7246DF #DF4666 #B3DF46 #46DFBF
square
#7246DF #DF4666 #B3DF46 #46DFBF
split-complementary
#7246DF #DFBF46 #66DF46
monochromatic
#3C1991 #5122C6 #7246DF #9A7AE8 #C2AEF1

Accessibility & contrast

On white

5.74
#7246DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7246DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246DF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246DF#FFFFFF#000000##FFFFFF
##7246DF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#4D6D8D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7246df;
/* rgb */ color: rgb(114, 70, 223);
/* oklch */ color: oklch(53.4% 0.219 290.2);
Tailwind
colors: {
  custom: {
    50: '#a47dea',
    500: '#7246df',
    950: '#000000',
  },
}
SCSS
$custom: #7246df;
$custom-light: #a47dea;
$custom-dark: #000000;
JSON
{
  "hex": "#7246df",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 257.255,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.21859,
    "h": 290.2
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#7246DF
secondary
#CEDFA2
accent
#ED3BBA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7246DF

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

Preview Lab → · Contrast checker → · Palette generator →

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