#7351E8#7351E8

#7351E8 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.7% C 0.216 H 287.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7351E8
RGBrgb(115, 81, 232)
HSLhsl(254, 77%, 61%)
HSVhsv(254, 65%, 91%)
CMYKcmyk(50.4%, 65.1%, 0%, 9%)
CIE-LABlab(46.12, 50.79, -71.85)
CIE-LCHlch(46.12, 87.99, 305.25°)
OKLaboklab(55.73% 0.0653 -0.2061)
OKLCHoklch(55.73% 0.216 287.6)
XYZxyz(24.5739, 15.3547, 77.9972)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7351E8 #C6E851
analogous
#517BE8 #7351E8 #BF51E8
triadic
#7351E8 #E87351 #51E873
tetradic
#7351E8 #E8517B #C6E851 #51E8BF
square
#7351E8 #E8517B #C6E851 #51E8BF
split-complementary
#7351E8 #E8BF51 #7BE851
monochromatic
#3716A8 #491DDE #7351E8 #9E87EF #CABDF6

Accessibility & contrast

On white

5.16
#7351E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7351E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7351E8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7351E8#FFFFFF#000000##FFFFFF
##7351E81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#487696
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7351e8;
/* rgb */ color: rgb(115, 81, 232);
/* oklch */ color: oklch(55.7% 0.216 287.6);
Tailwind
colors: {
  custom: {
    50: '#a584f0',
    500: '#7351e8',
    950: '#000000',
  },
}
SCSS
$custom: #7351e8;
$custom-light: #a584f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7351e8",
  "rgb": {
    "r": 115,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 253.51,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5573,
    "c": 0.2162,
    "h": 287.6
  },
  "luminance": 0.15356
}

Semantic roles & 50–950 ramp

primary
#7351E8
secondary
#DAE7AE
accent
#D90DAB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7351E8

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

Preview Lab → · Contrast checker → · Palette generator →

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