#7351CD#7351CD

#7351CD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.183 H 291.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7351CD
RGBrgb(115, 81, 205)
HSLhsl(256, 55%, 56%)
HSVhsv(256, 60%, 80%)
CMYKcmyk(43.9%, 60.5%, 0%, 19.6%)
CIE-LABlab(44.14, 43.18, -59.66)
CIE-LCHlch(44.14, 73.65, 305.89°)
OKLaboklab(53.68% 0.0676 -0.1703)
OKLCHoklch(53.68% 0.183 291.7)
XYZxyz(21.0291, 13.9368, 59.3279)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7351CD #ABCD51
analogous
#516DCD #7351CD #B151CD
triadic
#7351CD #CD7351 #51CD73
tetradic
#7351CD #CD516D #ABCD51 #51CDB1
square
#7351CD #CD516D #ABCD51 #51CDB1
split-complementary
#7351CD #CDB151 #6DCD51
monochromatic
#3D257F #5432AF #7351CD #9981DB #BFB0E8

Accessibility & contrast

On white

5.54
#7351CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7351CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7351CD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7351CD#FFFFFF#000000##FFFFFF
##7351CD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#596D87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7351cd;
/* rgb */ color: rgb(115, 81, 205);
/* oklch */ color: oklch(53.7% 0.183 291.7);
Tailwind
colors: {
  custom: {
    50: '#a183dd',
    500: '#7351cd',
    950: '#000000',
  },
}
SCSS
$custom: #7351cd;
$custom-light: #a183dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7351cd",
  "rgb": {
    "r": 115,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 256.452,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.1832,
    "h": 291.7
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#7351CD
secondary
#C8D7A3
accent
#DF49B6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7351CD

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

Preview Lab → · Contrast checker → · Palette generator →

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