#7246CE#7246CE

#7246CE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.199 H 293.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7246CE
RGBrgb(114, 70, 206)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 66%, 81%)
CMYKcmyk(44.7%, 66%, 0%, 19.2%)
CIE-LABlab(41.87, 49.29, -63.93)
CIE-LCHlch(41.87, 80.73, 307.63°)
OKLaboklab(52.03% 0.0779 -0.1829)
OKLCHoklch(52.03% 0.199 293.1)
XYZxyz(20.2671, 12.4133, 59.7087)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246CE #A2CE46
analogous
#465ECE #7246CE #B646CE
triadic
#7246CE #CE7246 #46CE72
tetradic
#7246CE #CE465E #A2CE46 #46CEB6
square
#7246CE #CE465E #A2CE46 #46CEB6
split-complementary
#7246CE #CEB646 #5ECE46
monochromatic
#3D2079 #552DAA #7246CE #9776DB #BCA7E8

Accessibility & contrast

On white

6.03
#7246CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7246CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246CE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246CE#FFFFFF#000000##FFFFFF
##7246CE1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#576784
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7246ce;
/* rgb */ color: rgb(114, 70, 206);
/* oklch */ color: oklch(52.0% 0.199 293.1);
Tailwind
colors: {
  custom: {
    50: '#a27cde',
    500: '#7246ce',
    950: '#000000',
  },
}
SCSS
$custom: #7246ce;
$custom-light: #a27cde;
$custom-dark: #000000;
JSON
{
  "hex": "#7246ce",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 259.412,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.19877,
    "h": 293.1
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#7246CE
secondary
#C2D59B
accent
#E146AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7246CE

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

Preview Lab → · Contrast checker → · Palette generator →

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