#7631A4#7631A4

#7631A4 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.179 H 308.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7631A4
RGBrgb(118, 49, 164)
HSLhsl(276, 54%, 42%)
HSVhsv(276, 70%, 64%)
CMYKcmyk(28%, 70.1%, 0%, 35.7%)
CIE-LABlab(35.46, 50.01, -49.57)
CIE-LCHlch(35.46, 70.42, 315.25°)
OKLaboklab(46.57% 0.1114 -0.1404)
OKLCHoklch(46.57% 0.179 308.4)
XYZxyz(15.2690, 8.7288, 35.9952)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631A4 #5FA431
analogous
#3D31A4 #7631A4 #A43199
triadic
#7631A4 #A47631 #31A476
tetradic
#7631A4 #A43D31 #5FA431 #3199A4
square
#7631A4 #A43D31 #5FA431 #3199A4
split-complementary
#7631A4 #99A431 #31A43D
monochromatic
#321546 #542375 #7631A4 #9649C9 #B179D7

Accessibility & contrast

On white

7.65
#7631A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7631A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631A4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631A4#FFFFFF#000000##FFFFFF
##7631A41.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#1754A2
Tritanopia (blue-blind)
#6F4A67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7631a4;
/* rgb */ color: rgb(118, 49, 164);
/* oklch */ color: oklch(46.6% 0.179 308.4);
Tailwind
colors: {
  custom: {
    50: '#a26fc0',
    500: '#7631a4',
    950: '#000000',
  },
}
SCSS
$custom: #7631a4;
$custom-light: #a26fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7631a4",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 276,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46566,
    "c": 0.17924,
    "h": 308.4
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#7631A4
secondary
#91BF72
accent
#DD4A85
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7631A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7631A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva