#7351D2#7351D2

#7351D2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.189 H 290.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7351D2
RGBrgb(115, 81, 210)
HSLhsl(256, 59%, 57%)
HSVhsv(256, 61%, 82%)
CMYKcmyk(45.2%, 61.4%, 0%, 17.6%)
CIE-LABlab(44.49, 44.58, -61.97)
CIE-LCHlch(44.49, 76.34, 305.73°)
OKLaboklab(54.04% 0.0673 -0.1771)
OKLCHoklch(54.04% 0.189 290.8)
XYZxyz(21.6423, 14.1821, 62.5574)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7351D2 #B0D251
analogous
#5170D2 #7351D2 #B451D2
triadic
#7351D2 #D27351 #51D273
tetradic
#7351D2 #D25170 #B0D251 #51D2B4
square
#7351D2 #D25170 #B0D251 #51D2B4
split-complementary
#7351D2 #D2B451 #70D251
monochromatic
#3D2386 #532FB7 #7351D2 #9A82DF #C1B2EB

Accessibility & contrast

On white

5.47
#7351D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7351D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7351D2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7351D2#FFFFFF#000000##FFFFFF
##7351D21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#566F8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7351d2;
/* rgb */ color: rgb(115, 81, 210);
/* oklch */ color: oklch(54.0% 0.189 290.8);
Tailwind
colors: {
  custom: {
    50: '#a283e1',
    500: '#7351d2',
    950: '#000000',
  },
}
SCSS
$custom: #7351d2;
$custom-light: #a283e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7351d2",
  "rgb": {
    "r": 115,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 255.814,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.18943,
    "h": 290.8
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#7351D2
secondary
#CCDAA5
accent
#E246B9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7351D2

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

Preview Lab → · Contrast checker → · Palette generator →

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