#7631A5#7631A5

#7631A5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.180 H 308.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7631A5
RGBrgb(118, 49, 165)
HSLhsl(276, 54%, 42%)
HSVhsv(276, 70%, 65%)
CMYKcmyk(28.5%, 70.3%, 0%, 35.3%)
CIE-LABlab(35.53, 50.24, -50.06)
CIE-LCHlch(35.53, 70.92, 315.10°)
OKLaboklab(46.64% 0.1113 -0.1418)
OKLCHoklch(46.64% 0.18 308.1)
XYZxyz(15.3597, 8.7650, 36.4727)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631A5 #60A531
analogous
#3C31A5 #7631A5 #A5319A
triadic
#7631A5 #A57631 #31A576
tetradic
#7631A5 #A53C31 #60A531 #319AA5
square
#7631A5 #A53C31 #60A531 #319AA5
split-complementary
#7631A5 #9AA531 #31A53C
monochromatic
#331547 #542376 #7631A5 #964AC9 #B179D7

Accessibility & contrast

On white

7.63
#7631A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7631A5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631A5#FFFFFF#000000##FFFFFF
##7631A51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#1454A2
Tritanopia (blue-blind)
#6F4B67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7631a5;
/* rgb */ color: rgb(118, 49, 165);
/* oklch */ color: oklch(46.6% 0.180 308.1);
Tailwind
colors: {
  custom: {
    50: '#a26fc0',
    500: '#7631a5',
    950: '#000000',
  },
}
SCSS
$custom: #7631a5;
$custom-light: #a26fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7631a5",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 275.69,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46639,
    "c": 0.18028,
    "h": 308.1
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#7631A5
secondary
#92C072
accent
#DE4A86
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7631A5

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

Preview Lab → · Contrast checker → · Palette generator →

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