#7351EC#7351EC

#7351EC is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.221 H 287.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7351EC
RGBrgb(115, 81, 236)
HSLhsl(253, 80%, 62%)
HSVhsv(253, 66%, 93%)
CMYKcmyk(51.3%, 65.7%, 0%, 7.5%)
CIE-LABlab(46.42, 51.92, -73.61)
CIE-LCHlch(46.42, 90.08, 305.20°)
OKLaboklab(56.05% 0.0648 -0.2113)
OKLCHoklch(56.05% 0.221 287)
XYZxyz(25.1485, 15.5846, 81.0236)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7351EC #CAEC51
analogous
#517DEC #7351EC #C051EC
triadic
#7351EC #EC7351 #51EC73
tetradic
#7351EC #EC517D #CAEC51 #51ECC0
square
#7351EC #EC517D #CAEC51 #51ECC0
split-complementary
#7351EC #ECC051 #7DEC51
monochromatic
#3513AF #471AE6 #7351EC #9F88F2 #CCBFF8

Accessibility & contrast

On white

5.10
#7351EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7351EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7351EC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7351EC#FFFFFF#000000##FFFFFF
##7351EC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#457898
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7351ec;
/* rgb */ color: rgb(115, 81, 236);
/* oklch */ color: oklch(56.0% 0.221 287.0);
Tailwind
colors: {
  custom: {
    50: '#a584f3',
    500: '#7351ec',
    950: '#000000',
  },
}
SCSS
$custom: #7351ec;
$custom-light: #a584f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7351ec",
  "rgb": {
    "r": 115,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 253.161,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.22098,
    "h": 287
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#7351EC
secondary
#DCE9B0
accent
#DD09AE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7351EC

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

Preview Lab → · Contrast checker → · Palette generator →

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