#7351CF#7351CF

#7351CF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.186 H 291.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7351CF
RGBrgb(115, 81, 207)
HSLhsl(256, 57%, 56%)
HSVhsv(256, 61%, 81%)
CMYKcmyk(44.4%, 60.9%, 0%, 18.8%)
CIE-LABlab(44.28, 43.74, -60.59)
CIE-LCHlch(44.28, 74.72, 305.82°)
OKLaboklab(53.82% 0.0675 -0.173)
OKLCHoklch(53.82% 0.186 291.3)
XYZxyz(21.2720, 14.0340, 60.6074)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7351CF #ADCF51
analogous
#516ECF #7351CF #B251CF
triadic
#7351CF #CF7351 #51CF73
tetradic
#7351CF #CF516E #ADCF51 #51CFB2
square
#7351CF #CF516E #ADCF51 #51CFB2
split-complementary
#7351CF #CFB251 #6ECF51
monochromatic
#3D2482 #5431B2 #7351CF #9A81DC #C0B1E9

Accessibility & contrast

On white

5.52
#7351CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7351CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7351CF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7351CF#FFFFFF#000000##FFFFFF
##7351CF1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#586E88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7351cf;
/* rgb */ color: rgb(115, 81, 207);
/* oklch */ color: oklch(53.8% 0.186 291.3);
Tailwind
colors: {
  custom: {
    50: '#a283de',
    500: '#7351cf',
    950: '#000000',
  },
}
SCSS
$custom: #7351cf;
$custom-light: #a283de;
$custom-dark: #000000;
JSON
{
  "hex": "#7351cf",
  "rgb": {
    "r": 115,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 256.19,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.18569,
    "h": 291.3
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#7351CF
secondary
#CAD8A4
accent
#E048B7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7351CF

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

Preview Lab → · Contrast checker → · Palette generator →

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