#7246E5#7246E5

#7246E5 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.225 H 289.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7246E5
RGBrgb(114, 70, 229)
HSLhsl(257, 75%, 59%)
HSVhsv(257, 69%, 90%)
CMYKcmyk(50.2%, 69.4%, 0%, 10.2%)
CIE-LABlab(43.67, 55.57, -74.15)
CIE-LCHlch(43.67, 92.66, 306.85°)
OKLaboklab(53.88% 0.0743 -0.2129)
OKLCHoklch(53.88% 0.225 289.2)
XYZxyz(23.2684, 13.6138, 75.5153)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7246E5 #B9E546
analogous
#4669E5 #7246E5 #C146E5
triadic
#7246E5 #E57246 #46E572
tetradic
#7246E5 #E54669 #B9E546 #46E5C1
square
#7246E5 #E54669 #B9E546 #46E5C1
split-complementary
#7246E5 #E5C146 #69E546
monochromatic
#3B169B #4F1DD0 #7246E5 #9B7CED #C4B1F4

Accessibility & contrast

On white

5.64
#7246E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7246E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7246E5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7246E5#FFFFFF#000000##FFFFFF
##7246E51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#496F91
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7246e5;
/* rgb */ color: rgb(114, 70, 229);
/* oklch */ color: oklch(53.9% 0.225 289.2);
Tailwind
colors: {
  custom: {
    50: '#a47dee',
    500: '#7246e5',
    950: '#000000',
  },
}
SCSS
$custom: #7246e5;
$custom-light: #a47dee;
$custom-dark: #000000;
JSON
{
  "hex": "#7246e5",
  "rgb": {
    "r": 114,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 256.604,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53883,
    "c": 0.22546,
    "h": 289.2
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#7246E5
secondary
#D1E3A4
accent
#F236BE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7246E5

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

Preview Lab → · Contrast checker → · Palette generator →

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