#7316B4#7316B4

#7316B4 is a mid, highly saturated violet. Relative luminance 0.075; OKLCH L 45.1% C 0.220 H 304.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7316B4
RGBrgb(115, 22, 180)
HSLhsl(275, 78%, 40%)
HSVhsv(275, 88%, 71%)
CMYKcmyk(36.1%, 87.8%, 0%, 29.4%)
CIE-LABlab(32.95, 62.73, -63.24)
CIE-LCHlch(32.95, 89.08, 314.77°)
OKLaboklab(45.12% 0.125 -0.1805)
OKLCHoklch(45.12% 0.22 304.7)
XYZxyz(15.5935, 7.5140, 43.8000)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7316B4 #57B416
analogous
#2416B4 #7316B4 #B416A6
triadic
#7316B4 #B47316 #16B473
tetradic
#7316B4 #B42416 #57B416 #16A6B4
square
#7316B4 #B42416 #57B416 #16A6B4
split-complementary
#7316B4 #A6B416 #16B424
monochromatic
#2D0947 #500F7D #7316B4 #9523E4 #AF5AEB

Accessibility & contrast

On white

8.39
#7316B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7316B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7316B4
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7316B4#FFFFFF#000000##FFFFFF
##7316B41.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#66466A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7316b4;
/* rgb */ color: rgb(115, 22, 180);
/* oklch */ color: oklch(45.1% 0.220 304.7);
Tailwind
colors: {
  custom: {
    50: '#a264cc',
    500: '#7316b4',
    950: '#000000',
  },
}
SCSS
$custom: #7316b4;
$custom-light: #a264cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7316b4",
  "rgb": {
    "r": 115,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 275.316,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45115,
    "c": 0.21958,
    "h": 304.7
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#7316B4
secondary
#88CE58
accent
#F53383
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #7316B4

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

Preview Lab → · Contrast checker → · Palette generator →

#7316B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva