#7351EF#7351EF

#7351EF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.225 H 286.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7351EF
RGBrgb(115, 81, 239)
HSLhsl(253, 83%, 63%)
HSVhsv(253, 66%, 94%)
CMYKcmyk(51.9%, 66.1%, 0%, 6.3%)
CIE-LABlab(46.66, 52.77, -74.91)
CIE-LCHlch(46.66, 91.64, 305.16°)
OKLaboklab(56.29% 0.0644 -0.2151)
OKLCHoklch(56.29% 0.225 286.7)
XYZxyz(25.5880, 15.7604, 83.3384)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7351EF #CDEF51
analogous
#517EEF #7351EF #C251EF
triadic
#7351EF #EF7351 #51EF73
tetradic
#7351EF #EF517E #CDEF51 #51EFC2
square
#7351EF #EF517E #CDEF51 #51EFC2
split-complementary
#7351EF #EFC251 #7EEF51
monochromatic
#3411B5 #4619EA #7351EF #A089F4 #CDC1F9

Accessibility & contrast

On white

5.06
#7351EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7351EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7351EF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7351EF#FFFFFF#000000##FFFFFF
##7351EF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#427999
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7351ef;
/* rgb */ color: rgb(115, 81, 239);
/* oklch */ color: oklch(56.3% 0.225 286.7);
Tailwind
colors: {
  custom: {
    50: '#a684f5',
    500: '#7351ef',
    950: '#000000',
  },
}
SCSS
$custom: #7351ef;
$custom-light: #a684f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7351ef",
  "rgb": {
    "r": 115,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 252.911,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.22453,
    "h": 286.7
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#7351EF
secondary
#DEEAB1
accent
#E006B1
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7351EF

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

Preview Lab → · Contrast checker → · Palette generator →

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