#7351E7#7351E7

#7351E7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.7% C 0.215 H 287.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7351E7
RGBrgb(115, 81, 231)
HSLhsl(254, 76%, 61%)
HSVhsv(254, 65%, 91%)
CMYKcmyk(50.2%, 64.9%, 0%, 9.4%)
CIE-LABlab(46.04, 50.50, -71.41)
CIE-LCHlch(46.04, 87.47, 305.27°)
OKLaboklab(55.65% 0.0654 -0.2048)
OKLCHoklch(55.65% 0.215 287.7)
XYZxyz(24.4322, 15.2981, 77.2513)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7351E7 #C5E751
analogous
#517AE7 #7351E7 #BE51E7
triadic
#7351E7 #E77351 #51E773
tetradic
#7351E7 #E7517A #C5E751 #51E7BE
square
#7351E7 #E7517A #C5E751 #51E7BE
split-complementary
#7351E7 #E7BE51 #7AE751
monochromatic
#3817A7 #491EDC #7351E7 #9E87EE #CABDF6

Accessibility & contrast

On white

5.17
#7351E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7351E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7351E7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7351E7#FFFFFF#000000##FFFFFF
##7351E71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#497695
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7351e7;
/* rgb */ color: rgb(115, 81, 231);
/* oklch */ color: oklch(55.7% 0.215 287.7);
Tailwind
colors: {
  custom: {
    50: '#a584f0',
    500: '#7351e7',
    950: '#000000',
  },
}
SCSS
$custom: #7351e7;
$custom-light: #a584f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7351e7",
  "rgb": {
    "r": 115,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 253.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55651,
    "c": 0.21501,
    "h": 287.7
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#7351E7
secondary
#D9E6AE
accent
#D80EAA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7351E7

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

Preview Lab → · Contrast checker → · Palette generator →

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