#7246E7#7246E7

#7246E7 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.228 H 288.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7246E7
RGBrgb(114, 70, 231)
HSLhsl(256, 77%, 59%)
HSVhsv(256, 70%, 91%)
CMYKcmyk(50.6%, 69.7%, 0%, 9.4%)
CIE-LABlab(43.84, 56.12, -75.01)
CIE-LCHlch(43.84, 93.68, 306.80°)
OKLaboklab(54.05% 0.074 -0.2154)
OKLCHoklch(54.05% 0.228 288.9)
XYZxyz(23.5492, 13.7262, 76.9944)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246E7 #BBE746
analogous
#466BE7 #7246E7 #C346E7
triadic
#7246E7 #E77246 #46E772
tetradic
#7246E7 #E7466B #BBE746 #46E7C3
square
#7246E7 #E7466B #BBE746 #46E7C3
split-complementary
#7246E7 #E7C346 #6BE746
monochromatic
#3A159E #4E1CD4 #7246E7 #9B7CEE #C5B2F5

Accessibility & contrast

On white

5.61
#7246E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7246E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246E7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246E7#FFFFFF#000000##FFFFFF
##7246E71.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#477092
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7246e7;
/* rgb */ color: rgb(114, 70, 231);
/* oklch */ color: oklch(54.0% 0.228 288.9);
Tailwind
colors: {
  custom: {
    50: '#a57df0',
    500: '#7246e7',
    950: '#000000',
  },
}
SCSS
$custom: #7246e7;
$custom-light: #a57df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7246e7",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 256.398,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5405,
    "c": 0.22775,
    "h": 288.9
  },
  "luminance": 0.13727
}

Semantic roles & 50–950 ramp

primary
#7246E7
secondary
#D3E4A5
accent
#F434BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7246E7

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

Preview Lab → · Contrast checker → · Palette generator →

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