#7631A3#7631A3

#7631A3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.178 H 308.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7631A3
RGBrgb(118, 49, 163)
HSLhsl(276, 54%, 42%)
HSVhsv(276, 70%, 64%)
CMYKcmyk(27.6%, 69.9%, 0%, 36.1%)
CIE-LABlab(35.39, 49.78, -49.08)
CIE-LCHlch(35.39, 69.91, 315.40°)
OKLaboklab(46.49% 0.1115 -0.139)
OKLCHoklch(46.49% 0.178 308.7)
XYZxyz(15.1790, 8.6928, 35.5215)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631A3 #5EA331
analogous
#3D31A3 #7631A3 #A33197
triadic
#7631A3 #A37631 #31A376
tetradic
#7631A3 #A33D31 #5EA331 #3197A3
square
#7631A3 #A33D31 #5EA331 #3197A3
split-complementary
#7631A3 #97A331 #31A33D
monochromatic
#321545 #542374 #7631A3 #9649C8 #B178D6

Accessibility & contrast

On white

7.67
#7631A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7631A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631A3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631A3#FFFFFF#000000##FFFFFF
##7631A31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#1954A1
Tritanopia (blue-blind)
#6F4A66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7631a3;
/* rgb */ color: rgb(118, 49, 163);
/* oklch */ color: oklch(46.5% 0.178 308.7);
Tailwind
colors: {
  custom: {
    50: '#a26fbf',
    500: '#7631a3',
    950: '#000000',
  },
}
SCSS
$custom: #7631a3;
$custom-light: #a26fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7631a3",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 276.316,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46493,
    "c": 0.1782,
    "h": 308.7
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#7631A3
secondary
#90BF71
accent
#DD4B84
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7631A3

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

Preview Lab → · Contrast checker → · Palette generator →

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