#7351EB#7351EB

#7351EB is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.220 H 287.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7351EB
RGBrgb(115, 81, 235)
HSLhsl(253, 79%, 62%)
HSVhsv(253, 66%, 92%)
CMYKcmyk(51.1%, 65.5%, 0%, 7.8%)
CIE-LABlab(46.35, 51.64, -73.17)
CIE-LCHlch(46.35, 89.56, 305.21°)
OKLaboklab(55.97% 0.0649 -0.21)
OKLCHoklch(55.97% 0.22 287.2)
XYZxyz(25.0036, 15.5266, 80.2606)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7351EB #C9EB51
analogous
#517CEB #7351EB #C051EB
triadic
#7351EB #EB7351 #51EB73
tetradic
#7351EB #EB517C #C9EB51 #51EBC0
square
#7351EB #EB517C #C9EB51 #51EBC0
split-complementary
#7351EB #EBC051 #7CEB51
monochromatic
#3614AE #471AE5 #7351EB #9F88F1 #CBBFF8

Accessibility & contrast

On white

5.11
#7351EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7351EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7351EB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7351EB#FFFFFF#000000##FFFFFF
##7351EB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#467797
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7351eb;
/* rgb */ color: rgb(115, 81, 235);
/* oklch */ color: oklch(56.0% 0.220 287.2);
Tailwind
colors: {
  custom: {
    50: '#a584f2',
    500: '#7351eb',
    950: '#000000',
  },
}
SCSS
$custom: #7351eb;
$custom-light: #a584f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7351eb",
  "rgb": {
    "r": 115,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 253.247,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.21979,
    "h": 287.2
  },
  "luminance": 0.15528
}

Semantic roles & 50–950 ramp

primary
#7351EB
secondary
#DCE8B0
accent
#DC0AAD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7351EB

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

Preview Lab → · Contrast checker → · Palette generator →

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